-
-
Notifications
You must be signed in to change notification settings - Fork 504
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] mrp_package_propagation: Migration to 18.0 #1466
[18.0][MIG] mrp_package_propagation: Migration to 18.0 #1466
Conversation
As there is no quant created for consumable products, Odoo does not support the propagation of a destination package from an ancestor move to its destination move. As such, the consumable component move of a MO has no package to propagate even if the Pre-PICK transfer put one. To support this use-case, we try to find a package to propagate from ancestor moves, allowing consumable products to propagate packages.
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.
LG
|
||
@api.depends( | ||
"move_raw_ids.propagate_package", | ||
"move_raw_ids.move_line_ids.qty_done", |
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.
that seems to fail:
ValueError: Wrong @depends on '_compute_propagated_package_id' (compute method of field mrp.production.propagated_package_id). Dependency field 'qty_done' not found in model stock.move.line.
9c0fd7d
to
0022de7
Compare
d30ba9a
to
adb03c1
Compare
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.
LG
This PR has the |
1556f40
to
bd96ff8
Compare
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 892cac3. Thanks a lot for contributing to OCA. ❤️ |
No description provided.