diff options
| author | Goffin Simon <sig@odoo.com> | 2016-07-25 13:47:07 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-07-25 15:57:34 +0200 |
| commit | 19e3757ffb0a68cd1aec8d7cde30f8a385981946 (patch) | |
| tree | 0c5746bac127c165a54b574bc329e4cbca2886d7 /doc | |
| parent | fc0f02305347ed46e8fdc7dd68188d17dc9b09a6 (diff) | |
[FIX] product_visible_discount, sale: compute the right unit price
When the module product_visible_discount is installed, the field
'discount_policy' allows to display the discount in the sale order or
allows to consider the discount as include in the price_unit.
The field price on product.product always compute the price according to
the pricelist then it always includes the discount in the price.
The field lst_price on product.product never compute the price according to
the pricelist then it always gives the sale price.
According to the discount_policy, the price or the lst_price must be taken.
opw:683771
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
