Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] point_of_sale: correctly reserve quantity on tracked product
Current behavior: When selling a product in PoS that is tracked by lot number and using the options to shop it latter and 3 steps delivery. The move lines associted to the different pickings would have wrong quantity reserved Steps to reproduce: - Activate multi-step routes and Lot/SN in inventory - Operation types Pos Orders tracability check marked - Activate Ship later options in PoS - Set 3 steps delivery in the warehouse settings - Create an item tracked by lot number and set a quantity - Open POS session - Select created item - Do NOT input a lot number - Set quantity to 1 - Proceed to payment screen - Select "Ship Later" on the payment screen. - Finish Sale. - Close POS session. - View the picking orders of the session. - Select the picking order that is "Ready". - The reserved quanities in the pickings are not correct opw-2779462 closes odoo#90487 Signed-off-by: Masereel Pierre <[email protected]>
- Loading branch information