Monday, March 21, 2022
1 change · master
Resolved issues and error corrections
This fixes an issue where changing the quantity being produced could incorrectly reset the completed quantity to zero. It helps ensure manufacturing orders keep accurate production quantities when users save quantity changes.
Original PR description
To reproduce:
1. create a BOM with analytic account
2. create a MO to produce 10 of the above product
3. change producing qty to 5, SAVE the form.
4. change producing qty to 10, SAVE the form.
It happens because the server receive at the same time a new
`stock.move.line` creation and a quantity_done to write on the
`stock.move`.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr