diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-07-26 11:44:51 +0200 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2017-09-01 17:15:47 +0200 |
| commit | b6778ee752efe3b143786015f766933afac4273f (patch) | |
| tree | 0b8c2635e4c25797b8918ff0c238ec49ed9584cf /addons/web/static/src/js/views/basic | |
| parent | 4ca6945256f9353ab7f9633552872fd1fa7fdaca (diff) | |
[FIX] account: reconciliation_widget: rounding of reconciliation_amount computation
Use case:
- a tax of 10%, computation method: percentage of tax included
- a account_reconciliation_model with an amount of 90%
- make a statement of 1.31 (or something weird when it comes to digits)
- reconcile it with a counterpart
- prefill that counterpart with the account_reconciliation just created
- push on reconcile
Before this commit, the amount that was computed was not rounded, resulting in making unbalanced account_moves (by 0.001)
This was invisble since the display of monetary is rounded
After this commit, the rounding is done according to the currency's parameters and produces correct move_lines
OPW 751881
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
