Commit Graph
12 Commits
Author SHA1 Message Date
Cédric Krier 601f86fa94 Fix DateTime microsecond replacement
replace method return a new datetime
(transplanted from 9fa480f96eba384f411b9369347d5913d92bbd15)
2010-07-04 22:56:23 +02:00
Cédric Krier 2a2fa25aa1 Fix test for datetime in Date fields
(transplanted from 43bf75cf91c018d2a5b20646c3569d16a8cb2965)
2010-06-09 20:30:01 +02:00
Cédric Krier f341f6f68d Handle date and datetime in XML-RPC
(transplanted from 9a9c2ca4f50794fd13f08b09eb5093aef1a041d7)
2010-06-09 19:52:47 +02:00
Cédric Krier 29204b0851 Extend Float to work with Decimal for issue1575 thanks to gadaga
(transplanted from 15c673a1072da72939845e792ec9869aba9773a7)
2010-06-06 11:30:33 +02:00
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