Skip to content
Snippets Groups Projects
Commit 958bee9c authored by oco-odoo's avatar oco-odoo
Browse files

[FIX] account: correctly round amounts to compute matched percentage


Before that, depending on rounding errors on floats, it was possible to end up with a matched percentage of 0.999999999 instead of 1.0 on an account move in case of full reconciliation. This could in turn cause problems with cash basis taxes, when checking what proportion of the move is reconciled.

closes odoo/odoo#44845

X-original-commit: 57c33971
Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
parent 017e3d79
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment