Skip to content
Snippets Groups Projects
Commit b7ade94c 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#45094

X-original-commit: 958bee9c
Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
parent fd30d29d
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment