-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
[WMS][12.0] Add stock_move_location_dest_constraint_base - alpha version #696
[WMS][12.0] Add stock_move_location_dest_constraint_base - alpha version #696
Conversation
stock_move_location_dest_constraint_base/models/stock_location.py
Outdated
Show resolved
Hide resolved
@grindtildeath I have the following error while trying to receive products. To replicate this, I have a put away in input location (with bybass constraints set) to put it away in input /WAE for all product category.
|
filtered_putaways = self.browse() | ||
for put in putaway_strats: | ||
try: | ||
put.location_id.check_move_dest_constraint(product=product) |
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.
put.location_id.check_move_dest_constraint(product=product) | |
put.fixed_location_id.check_move_dest_constraint(product=product) |
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.
I confirm this fix the problem
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.
Let' merge this now. We'll bring other improvemnts later on for perfe reasons
/ocabot merge |
Hi @jgrandguillaume. Your command failed:
Ocabot commands
More information
|
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at ebebd84. Thanks a lot for contributing to OCA. ❤️ |
Revert "Merge PR #696 into 12.0"
This module provides a base mechanism to constrain the selection of destination
location on stock move lines.
It also adds a checkbox 'Bypass constraints' on stock location to deactivate
the checks implemented by installed modules.
Related to #691