Skip to content

Update mrp_workorder_grouping_by_material/mrp_workorder.py - #271

Open
steeluis wants to merge 1 commit into
avanzosc:13.0from
steeluis:patch-1
Open

steeluis wants to merge 1 commit into
avanzosc:13.0from
steeluis:patch-1

Conversation

@steeluis

Copy link
Copy Markdown

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)
)

@api.depends(
"nested_ids",

Copy link
Copy Markdown
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