Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mrp: done workorder on multiple reserved move lines
Producing a manufacturing order on components with more than one unit could leads to multiple move line reserved on this component. Marking the workorder as done, in that case, will trigger an error saying "Cannot set the done quantity from this stock move, work directly with the move lines". Instead of setting the quantity done directly, this commit uses the magical function _set_quantity_done() that manage the case of more than one move lines. OPW-1888780
- Loading branch information