diff options
| author | Romain Derie <rde@odoo.com> | 2018-06-19 10:36:07 +0200 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-06-20 16:43:08 +0200 |
| commit | 27825cbf1340bd6b280a494bcb26297cb3cb973e (patch) | |
| tree | 23b5b27a0e55ec13ce1caaaf7a848c8813010743 /addons/base_import_module/tests/test_module | |
| parent | 9cc4c453d6e913258a3a14e7abc035756ae09d98 (diff) | |
[FIX] sale: unify both pricelist & sale option to show discount
Sale module has an option to show or hide discounts on order lines.
Pricelist also have a field to include the discount in the price or display the
full price strikethroughed.
Before this commit:
If the sale option was disabled, the pricelist option would be hidden, possibly
left enabled.
This will cause a strange behavior in frontend where user would still see the
strikethroughed price even if the sale module option was disabled.
Now:
If the sale option got disabled, we also disable the pricelist option
Closes #14741
Diffstat (limited to 'addons/base_import_module/tests/test_module')
0 files changed, 0 insertions, 0 deletions
