diff options
| author | Goffin Simon <sig@odoo.com> | 2016-11-08 11:11:12 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-11-08 11:53:01 +0100 |
| commit | 7fca8ad89eeb53844724c429e983085f8ddc6c4a (patch) | |
| tree | 8103ff09a34315136d4dee54431e82b2b1fe0b21 /addons/web/static/src/js/boot.js | |
| parent | 6171f50e85d1fd4fdfde10484aac6ef9a2ec5f71 (diff) | |
[FIX] account: wrong amount with _prepare_analytic_line
To have the right sign, amount = debit - credit
Before the fix:
-Create an invoice in another currency than the currency of your company
-Link the invoice lines to an analytic account.
-Validate the invoice.
Bug:
The analytic lines have a negative amount in the amount currency field
which was a bit stange as it is the opposite sign than the amount in the company currency.
opw:692557
Diffstat (limited to 'addons/web/static/src/js/boot.js')
0 files changed, 0 insertions, 0 deletions
