Commit Graph
8 Commits
Author SHA1 Message Date
Cédric Krier 473f94dc2b Use str to convert long into Decimal 2010-03-12 17:45:22 +01:00
Cédric Krier 0415e46c73 Don't allow to use float in Numeric fields
The goal is to prevent to introduce float errors in Numeric fields.
There is a trick for external protocols like XML-RPC and JSON-RPC where the
string representation is stored in the Float object and will be used to
convert it into Decimal.
2010-03-12 17:41:07 +01:00
Cédric Krier 8951e54c86 Add decimal digits validation on fields and fix Float and Numeric for lost of precision 2010-03-11 15:27:40 +01:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +01:00
Cédric Krier e2f80d378c Add timestamp field in backend
Improve validation of DateTime values
2009-11-10 14:00:13 +01:00
Bertrand Chenal b82bb6eecb Added unit tests for date field 2009-11-06 18:40:07 +01:00
Cédric Krier 792dfefc82 Don't convert Date and DateTime into string 2009-11-03 15:19:46 +01:00
Cédric Krier 74eee1cd20 Refactor backend fields 2009-10-31 19:33:45 +01:00