diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-12-09 15:11:37 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2021-01-18 10:28:00 +0000 |
| commit | 22598c88638aaa2570c88f5bdf01d185abadd086 (patch) | |
| tree | 15897462abe90540e9f8733d6aa56ba604fa01be /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 785fdb6cea6ee7d9a1a4e4c6a44403a275a67763 (diff) | |
[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#64572
X-original-commit: e31339ceacc40f8a866f085d2153ffb0b760c11c
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
