diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-03-11 16:36:37 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-03-14 13:14:07 +0000 |
| commit | 04f7c650d0e2a727002c2d271c6ad24fc38f74d3 (patch) | |
| tree | ba4f237de9660c3dbe92a28f513a9a660f8184b0 /setup | |
| parent | 1ceb68980512b94aad98472650d9db7ea029a4ed (diff) | |
[FIX] l10n_fr_fec: float representation when summing
Before this commit, it may happen that the the grouped account move lines
sum will be business-wise "zero" but that its representation in SQL will not be
rather, it will be equal to "10^[-high number]"
After this commit, we round the sum to the number of digits of the company's currency
to see if it is equal to zero, or not.
We also need to filter out the specific case of unaffected earnings
OPW 1942177
closes odoo/odoo#31755
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions
