[FIX] pos_sale: downpayment refund correctly added to origin order
Current behavior:
When you refund a downpayment in the PoS, the downpayment is not added
to the original order.
Steps to reproduce:
- Create an order in the sales app
- Open the PoS and make a downpayment for the order
- Refund the downpayment you just made
- Go back to the original order in the sales app, the downpayment is
correctly added, but the refund of the downpayment is not added.
- The order should contain : The original product, the downpayment and
the refund of the downpayment.
opw-3275708
closes odoo/odoo#121160
Signed-off-by:
Joseph Caburnay (jcb) <jcb@odoo.com>
Showing
- addons/pos_sale/models/pos_order.py 4 additions, 3 deletionsaddons/pos_sale/models/pos_order.py
- addons/pos_sale/static/tests/helpers/ProductScreenTourMethods.js 21 additions, 0 deletions...pos_sale/static/tests/helpers/ProductScreenTourMethods.js
- addons/pos_sale/static/tests/tours/pos_sale_tours.js 23 additions, 0 deletionsaddons/pos_sale/static/tests/tours/pos_sale_tours.js
- addons/pos_sale/tests/test_pos_sale_flow.py 28 additions, 0 deletionsaddons/pos_sale/tests/test_pos_sale_flow.py
Loading