summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2017-09-21 16:51:13 +0200
committerYannick Tivisse <yti@odoo.com>2017-09-21 16:51:13 +0200
commit8e2d7c2e3c4e1f2e62a3f52f4152f21030946265 (patch)
tree33ae4b00d2f7b402260cbb382d5506f14590dcc0 /addons/web/static/src/js/views/basic/basic_controller.js
parente24513542135676ec1cb0bfac1ea954ef6518d49 (diff)
[FIX] hr_expense: Make expense sheet report multi currency coherent
Purpose ======= Currently, if we want to print an expense report that has several currencies in its expense lines, the total amount is hidden on the report. Otherwise, it is simply summed. That could lead to confusing uses cases. Example. 1 expense line of 92 dollars. 1 expense report expressed in euros. In the report we will have - 1 line of 92 dollars - Total amount: 92 euros Which is obviously wrong. Specification ============= Always display the amount + Compute the amount in the expense report currency, by converting the amount with the rate at the day the expense has been made.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions