summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2019-12-05 10:23:23 +0000
committerNicolas Martinelli <nim@odoo.com>2020-02-18 11:58:36 +0000
commitdc980e9448f10d6c31e81e4fec4911a95d8e6dd2 (patch)
tree3c50701fd8b765c3aea34cda545946b32510fd49 /addons/web/static/src/js/views/basic/basic_controller.js
parent38151f42c6d681a10984fe4d0efcd93c8ff00072 (diff)
[FIX] point_of_sale: anglo saxon and tax lines in different currency
The problem occurs when the pos session has currency that is different from the company's currency. Additionally, product that is tracked in accounting is also sold in this session. This situation results to anglo saxon move lines that are incorrectly converted. The current implementation considers the value from the stock valuation layer to be in the session's currency. However, that is not the real case because values in the valuation layer are always in the company currency. With regards to tax line, the tax_base_amount is not converted to the company's currency. It's value should always be in company's currency. This commit fixes the behavior of pos in generating anglo saxon lines and setting the correct tax_base_amount in the pos session's accounting entry. X-original-commit: 2bdbea3bbf87a921ed3b343f5146a519f10e0add
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions