diff options
| author | Goffin Simon <sig@odoo.com> | 2017-10-17 16:59:38 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-10-18 10:15:03 +0200 |
| commit | 0012eb4c9704dd3430e024d0ce0e7bcb39c3c416 (patch) | |
| tree | ba4c52cd2c3b3233e30da398d7a2dd080005821f /addons/web_editor/static/src/less/web_editor.common.less | |
| parent | f971ed704c93738fb89576e44756c9e70ce7881d (diff) | |
[FIX] website_sale: included taxes considered as discount in the shop
Steps to reproduce the bug:
- In Sales settings, set "Tax display" as "Show line subtotals without taxes"
- Create an article A with a customer tax set as price-inclusive.
- associate on an other article B the pricelist P with a discount_policy
set as "without_discount"
- Ensure that the pricelist P is used in the shop.
-Go to the shop
Bug: The article A is considered as discounted but the price is full.
The prices with included taxes were considered as discounted because
lst_price - webstie_price were always greater than 0. When the
"Show line subtotals without taxes" is checked for Tax display,
the field website_price never includes the taxes. That's why the
included taxes are substracted from the website_price.
opw:776526
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.common.less')
0 files changed, 0 insertions, 0 deletions
