Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] l10n_fr_fec: float representation when summing #31755

Closed
wants to merge 1 commit into from

Commits on Mar 14, 2019

  1. [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
    kebeclibre authored and nim-odoo committed Mar 14, 2019
    Copy the full SHA
    03e2d8d View commit details
    Browse the repository at this point in the history