-
-
Notifications
You must be signed in to change notification settings - Fork 756
[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
[18.0][MIG] stock_archive_constraint: Migration to 18.0 #2245
Conversation
…d locations with associated stock.quant or stock.move
…es have been installed
- Include context keys for avoiding mail operations overhead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
/ocabot migration stock_archive_constraint |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at c791254. Thanks a lot for contributing to OCA. ❤️ |
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!