diff options
| author | Romain Derie <rde@odoo.com> | 2017-11-13 12:43:03 +0100 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2017-11-15 12:34:57 +0100 |
| commit | 16531f6548fb9b1b03215dcfee9922ab5c23e7cf (patch) | |
| tree | 2c45789902dbcd354a12c20a6e0e85daebfddba0 /tests/test_program_with_code_operations.py | |
| parent | bb5d999596cc4b773b33311d318fe6aa9fd317e6 (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 'tests/test_program_with_code_operations.py')
0 files changed, 0 insertions, 0 deletions
