-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mrp: change qty_producing when updating product_qty
Currently, when no workorders are defined for a production, updating its `product_qty` through the wizard won't update its qty_producing, meaning that if the production gets validated right afterwards, the total produced will be the same as prior the update. This is missleading and unconsistent with how things work when workorders are involved, since in that case the `qty_producing` of the production will be updated through the inverse of the workorder's `qty_producing`. Part-of: odoo#129009
- Loading branch information
Showing
2 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters