summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2019-12-16 10:58:27 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2019-12-19 15:27:32 +0000
commit0090a3c9243271dd22d8a106f8edb69f97431978 (patch)
tree5ee6c0068ae41b687e8f7fcc20b087736ca6fcd4 /addons/web/static/src
parent141b34f152f36d970d4ff78abe53f563555a8e69 (diff)
[FIX] point_of_sale: avoid adding the same tax twice
Activate a Fiscal position with a defined tax mapping(i.e. 15%). Add to a product the same tax. Set the tax to be included in price. In POS Settings add the default fiscal position as the one from before. Now open POS and add the product. The total price calculated will be wrong: the tax is added twice, one from the product line and one from the localization. Mimic the behavior as in https://github.com/odoo/odoo/blob/saas-12.3/addons/account/models/account.py#L1512 closes odoo/odoo#42194 X-original-commit: db16d119f02ed5244482276a3701d3d3ab2fdb7b Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions