diff options
| author | Goffin Simon <sig@odoo.com> | 2020-10-08 10:26:05 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-10-08 13:55:43 +0000 |
| commit | 9f1280e275fd851fce17bf82c603fdc50a8ef94e (patch) | |
| tree | df895efdab82ed002a350e84a7613200ae4ac068 /addons/mail/static/src/models/thread/thread.js | |
| parent | 6a5c19d8011a5b480cbd3bccee3d2ab409807258 (diff) | |
[FIX] sale: Update pricelist when discount_policy = 'with_discount'
Steps to reproduce the bug:
- Let's consider two pricelist PL1 and PL2 with discount_policy = 'without_discount'
- Let's consider a product P
- PL1 has 10% on P and PL2 has 20% discount on P
- Create a quotation Q with PL1
- Add P on Q (the 10% discount is correctly applied)
- Change PL1 to PL2 and click on Update pricelist
Bug:
The 20% discount on P was not applied.
opw:2352577
closes odoo/odoo#59495
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread/thread.js')
0 files changed, 0 insertions, 0 deletions
