diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2018-06-27 20:07:46 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-07-03 10:37:10 +0200 |
| commit | d3b42bd98f6ccad6d860cb3f47e943b0c8e2303a (patch) | |
| tree | 7404bc201212b7b9f7641bb54c61e09277760973 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | af36063de3e08715504fd33183f8443e5ace4a92 (diff) | |
[FIX] account:with -0.0 amount_total it raised
Steps to reproduce the bug:
- Create an invoice with positive lines and negative lines and with a total equal to zero
Bug:
In some cases total amount is equal to -0.0 and it raised:
"You cannot validate an invoice with a negative total amount"
The field amount_total is a monetary field, so it's computed in the precision
of the currency of the invoice.
opw:1862439
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
