-
- Downloads
[FIX] pos_sale: correctly update move qty when settling a pos order
Current behavior: When settling a pos order containing 2 different product, the qty of the 2 products would be modified even if you only deliver one of them through the pos order. Steps to reproduce: - Create 2 product A and B - Create a sale order with 1 product A and 1 product B - Open a PoS session, and settle the order you just created - Deliver only 1 product A - Close the PoS session - Go the the sale order delivery, you will see that the qty are not correct opw-3227053 closes odoo/odoo#120642 X-original-commit: 7dd5e78596718120f4c04b7ce1757ff0bd38d665 Signed-off-by:Joseph Caburnay (jcb) <jcb@odoo.com> Signed-off-by:
Engels Robin (roen) <roen@odoo.com>
Showing
- addons/pos_sale/models/pos_order.py 5 additions, 1 deletionaddons/pos_sale/models/pos_order.py
- addons/pos_sale/static/tests/tours/pos_sale_tours.js 19 additions, 0 deletionsaddons/pos_sale/static/tests/tours/pos_sale_tours.js
- addons/pos_sale/tests/test_pos_sale_flow.py 51 additions, 0 deletionsaddons/pos_sale/tests/test_pos_sale_flow.py
Please register or sign in to comment