Files
odoo_source/addons/sale_coupon/tests
Andrea Grazioso (agr-odoo) b5ed22144c [FIX] sale_coupon: Avoid discounting more than order amount
- Create a promotion of discount 10% with coupon (A)
- Create a promotion of fixed discount (50$) with coupon (B)
- Create a sale order of 50$, apply A and then B

Order will have a negative total.
This is due to the check done on the order amount, which needs to be
checked without the current program, to allow correct stacking of
promotions

opw-2410666

closes odoo/odoo#64848

X-original-commit: 22598c88638aaa2570c88f5bdf01d185abadd086
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
2021-01-21 10:59:15 +00:00
..
…