forked from odoo/odoo
-
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.
to reproduce: - have 4 units of product 1 in stock - create a move for a dozen, reserve it - try to scrap a single unit - an exception "cannot reserve more than available" is raised To reflect the change of reservation after scrapping the quantity, we have to update the reserved quantity on the move line. When updating the quantity on the move line, "quantity_split" is in the quant uom, so it should be converted to the uom of the move line.
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
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