Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 776889be by Cédric Krier at 2024-03-28T09:25:55+01:00 Do not round Decimal to validate digits Decimal may raise an InvalidOperation error if the context does not allow the needed precision. But rounding is not necessary for Decimal as we can just test the exponent from the tuple version. Closes #13138 - - - - - 2 changed files: - trytond/trytond/model/modelstorage.py - trytond/trytond/tests/test_field_numeric.py View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/776889be97e4c1b8917a9090338511d8008c625b -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/776889be97e4c1b8917a9090338511d8008c625b You're receiving this email because of your account on foss.heptapod.net.