diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-05-19 08:08:37 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-05-25 07:44:35 +0000 |
| commit | 8eefb6925247f838369d1cb4d4cb807c3010da51 (patch) | |
| tree | 37fe26485dc93ab1f3056b9522eea84b0658618c /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | fadaf8b748111bb6e02340776ace3d1993ea25ac (diff) | |
[FIX] sale_coupon: correct discount application values from view
Create a coupon program following these steps:
- Set name
- set 'Discount Apply On' to 'On Specific Product'
- Add specific product
- Set 'Apply Discount' to Fixed price
- Input the fixed price
- Save
Generate a coupon and try to apply it on a quotation.
Error will popup because Not all conditions are met.
The field discount_apply_on (invisible with fixed price) keep the
application "specific_products". Fixing by checking the values in the
backend.
opw-2257783
closes odoo/odoo#51574
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
