Please sign in to comment.
[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 #31755 Signed-off-by: Nicolas Martinelli (nim) <firstname.lastname@example.org>
- Loading branch information...
Showing with 9 additions and 5 deletions.