diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-08-10 09:34:38 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-08-12 15:05:05 +0000 |
| commit | 32056eaf4a8a8f311aca2923bfe6133985cba7fb (patch) | |
| tree | a514303710e38aade9ccbb209fa388c2b8b95800 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 9dc678b7d1af083f4c777349b9851a103660fd64 (diff) | |
[FIX] l10n_fr_pos_cert: avoid losing price when canceling item
In a French based company
Create a DEMO product with price 500 available in POS
Have a public pricelist in which feature a line with:
- product: DEMO
- minimum quantity: 1
- price: 400
Open POS, Add DEMO, the price from the pricelist will be used (400).
Now delete the product.
The form will popup, choose a quantity to delete and confirm.
The price of the cancel line will not be taken from the pricelist,
so the two line will have different prices.
This occur because the quantity of the new line is -1 and the pricelist
may have a minimum positive quantity set.
Using a specific option to keep the price fix the issue
opw-2312172
closes odoo/odoo#55824
X-original-commit: 1ff8281c4f43525dc24059bd1ff4e63bc47ecffd
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
