diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-05-23 15:25:51 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-05-24 08:19:50 +0200 |
| commit | 521edf9052c217da68c8729c91daea1b83f4308e (patch) | |
| tree | 4f011433b10abcd7d2a9561b4e27b51a4884599d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 5331a87f81a7a35a0f9bb41980dd83913493cc5a (diff) | |
[FIX] account: writeoff sign
- Set-up multi-currency with the following rates:
MXN: 1.0
USD (2017-04-10): 0.052632
USD (2017-04-27): 0.051680
- Create an invoice of 1779.55 USD on 2017-04-10
- Register a payment of 1779.48 USD on 2017-04-27
- Set the invoice as fully paid
It is impossible to validate the payment because of the following error:
"The amount expressed in the secondary currency must be positive when
account is debited and negative when account is credited."
We make sure to align the writeoff amount sign with the writeoff amount
sign in the company currency.
opw-741520
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
