Skip to content

[18.0][MIG] stock_archive_constraint: Migration to 18.0 #2245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jan 27, 2025

Conversation

juancarlosonate-tecnativa
Copy link

@juancarlosonate-tecnativa juancarlosonate-tecnativa commented Jan 23, 2025

Migration to 18.0

Locations containing stock can no longer be archived since odoo/odoo@b6ba603, therefore this functionality is no longer necessary.

Additionally, I have found it convenient to add the functionality to restrict archiving not only by movements marked with a source location as location_id, but also by the destination location location_dest_id.

@Tecnativa TT54324

@CarlosRoca13 @sergio-teruel can you check? thanks!

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@pedrobaeza
Copy link
Member

/ocabot migration stock_archive_constraint

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 24, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 24, 2025
51 tasks
@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-2245-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit cad83e8 into OCA:18.0 Jan 27, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at c791254. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-mig-stock_archive_constraint branch January 27, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.