summaryrefslogtreecommitdiff
path: root/addons/mail/static/tests/thread_window/hidden_thread_window_tests.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2019-06-24 17:44:03 +0200
committerChristophe Simonis <chs@odoo.com>2019-06-27 19:14:28 +0200
commit0247d2f35fdeebdb48e8eafc2ae69d1675158303 (patch)
tree3e0fadcbfe5f5678f8bd8c8acbf2ad6e8e6467da /addons/mail/static/tests/thread_window/hidden_thread_window_tests.js
parent6c5783bd5a8b20dce99b26a81e734a50c168bae0 (diff)
[FIX] sale_coupon, sale_coupon_delivery: Wrong discount on promotion program
Let's consider a product P with a unit price = 100€ When a price list PL with a discount of 20% was applied, and a coupon program CP with a discount of 10% was also applied, system still calculated the rate based on unit price of the product and not on the discounted price. So in this example, the amount of the CP discount was 10€ instead of 8€ because the CP discount was computed on the unit price 100€ instead of the discounted price 80€ (with 20% discount of PL) opw:2006829 X-port/Cherry-pick of odoo/enterprise@23739e8a71b3a107246fdae9f7208dfcd852ca09
Diffstat (limited to 'addons/mail/static/tests/thread_window/hidden_thread_window_tests.js')
0 files changed, 0 insertions, 0 deletions