diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-11-04 11:27:18 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-11-07 09:13:25 +0100 |
| commit | 62b3de52dccc1c6b9e16e5a86320524efb474ad4 (patch) | |
| tree | f25fbcc8c6a60d744b14dceb979bd34daf42ff34 /addons/web/static/src/js/framework | |
| parent | ac1c9b6cb49dcb5cc3d7d49dd84c1ab820608c7e (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')
0 files changed, 0 insertions, 0 deletions
