Skip to content
Snippets Groups Projects
Commit 7f30ef42 authored by Adrien Widart's avatar Adrien Widart
Browse files

[FIX] stock: correctly compare float


Due to floating point representation, some floats may have some
insignificant decimals. Therefore, `float_compare` should be used when
comparing such numbers

OPW-2699576

closes odoo/odoo#80983

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent f7b8a07a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment