Files
odoo_source/addons/pos_gift_card
Touati Djamel (otd) 8c77e1cfdb [FIX] {pos,sale}_gift_card: compute the gift card balance correctly
Steps to reproduce the bug:
- Install POS
- Go to the POS settings and enable “Gift Card” option
- Create a new Gift card with initial amount of $50
- Open a new POS session > create an order of $50 and apply the gift card
- Confirm the order > the order state becomes “paid” and the gift card balance is computed correctly: $0

Problem:
Close the POS session, the order state becomes “done” and the balance is computed wrongly: $50

opw-2683523

closes odoo/odoo#79741

X-original-commit: 10f22a125a96d60fc5983531f6026ba325d08959
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2021-11-15 11:22:40 +00:00
..
…
…