summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2017-11-13 12:43:03 +0100
committerRomain Derie <rde@odoo.com>2017-11-15 12:34:57 +0100
commitf7c58b65df2a2a6a08039183ed6644b939e119fb (patch)
tree875e5209d377a77e42daf2ad52d83b2a76dbe43e /addons/web/static/src/js/views/basic/basic_controller.js
parent1bd44e1106d02812aa8866ddc2835ac0f4ee200f (diff)
[FIX] (website_)sale_coupon: Display clearer promo code error on cart
Before this commit: Coupon error on cart would always show "Invalid or Expired coupon code" instead of a more accurate error (eg: already applied, can't use 2 code..). Plus it would still show the error on page refresh because of the error being stored in URL param. Now: It will show the exact error and since the error is not stored in URL, it won't be still displayed on page refresh. This closes #1601
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions