summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/view.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-11-04 11:27:18 +0100
committerNicolas Martinelli <nim@odoo.com>2016-11-07 09:13:25 +0100
commit62b3de52dccc1c6b9e16e5a86320524efb474ad4 (patch)
treef25fbcc8c6a60d744b14dceb979bd34daf42ff34 /addons/web/static/src/js/framework/view.js
parentac1c9b6cb49dcb5cc3d7d49dd84c1ab820608c7e (diff)
[FIX] account: write-off currency
In a multi-currency environment, company currency is USD - Create an invoice of 100 EUR, corresponding to 65 USD - Register a payment directly from the invoice (button "Register Payment") of 60 USD. Choose "Mark invoice as fully paid". - The write-off line contains the amount in the invoice currency (field `amount_currency` filled in. This was introduced in commit 003f2ee9b. On the other hand: - Create an invoice of 100 EUR, corresponding to 65 USD - Create a bank statement of 60 USD. - Proceed to reconciliation, and create a write-off line of 5 USD. - In this case, the write-off line does not contain the amount in the invoice currency. The user expects the same behavior in both cases, so we introduce the amount currency in the second case. opw-690784
Diffstat (limited to 'addons/web/static/src/js/framework/view.js')
0 files changed, 0 insertions, 0 deletions