Skip to content
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

Update mrp_workorder_grouping_by_material/mrp_workorder.py #271

Open
wants to merge 1 commit into
base: 13.0
Choose a base branch
from

Conversation

steeluis
Copy link

Add "nested_ids" in api.depends, so calculations in workorder are updated if any change in nested_ids. (i.e. when deleting a nest, the following fields stayed not updated: nested_ids, nested_count, qty_nested, nested_status)

Add "nested_ids" in api.depends, so calculations in workorder are updated if any change in nested_ids. (i.e. when deleting a nest, the following fields stayed not updated: nested_ids, nested_count, qty_nested, nested_status)
@@ -55,6 +55,7 @@ class MrpWorkorder(models.Model):
)

@api.depends(
"nested_ids",
Copy link
Contributor

Choose a reason for hiding this comment

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

This is incorrect, as is computed in the method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants