summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-04-01 15:30:39 +0000
committerRomain Derie <rde@odoo.com>2019-04-01 15:47:40 +0000
commit9f5cdd86f25fdce0986622154b39dc3c7ce1aec6 (patch)
tree27e806e6814064b524c4d0a518373dd8af81ff72 /addons/web/static/src/js/views/basic/basic_renderer.js
parentb327f2f3c3d9f68a91673b703839102972851b53 (diff)
[FIX] sale_coupon: upgrade discount when possible
/!\ Cherry-pick of odoo/enterprise@8b85628c65008b4 that was lost between coupon move from OE to OC and forward-port It is possible to setup multiple global promotions, i.e. 5% discount after 5 products and 10% discount after 10 products. Buying 10 products gives the 10% discount. But if you select 5 products (5% is applied) then add 5 more products, the 10% discount is not automatically applied, the custommer must remove the 5% discount in order to get the 10% one. This commit automatically upgrades the promotion to use the best applicable discount. opw-1953224 closes odoo/odoo#32314 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions