Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
cfbc9e90 by Cédric Krier at 2023-10-21T14:12:12+02:00
Prevent storing Decimal with too much trailing zero

The trailing zero are kept in the Decimal and rendered in the string
representation which is unexpected for a field with limited digits.

Closes #12587
- - - - -


3 changed files:

- tryton/tryton/common/number_entry.py
- trytond/trytond/model/modelstorage.py
- trytond/trytond/tests/test_field_numeric.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/cfbc9e902c1d5f9bc299b536b495a98fda380369

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/cfbc9e902c1d5f9bc299b536b495a98fda380369
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to