Cédric Krier
0c7b1f1fe4
Fix DateTime microsecond replacement
...
replace method return a new datetime
2010-07-04 22:56:23 +02:00
Cédric Krier
9b0cf2fbe4
Fix test for datetime in Date fields
2010-06-09 20:30:01 +02:00
Cédric Krier
9922b401a7
Handle date and datetime in XML-RPC
2010-06-09 19:52:47 +02:00
Cédric Krier
ed1965f4bf
Extend Float to work with Decimal for issue1575 thanks to gadaga
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