From 1bb663298b2eafd2070502b77edba69b6030ea77 Mon Sep 17 00:00:00 2001 From: Sharoon Thomas Date: Wed, 8 Jun 2011 13:06:22 -0400 Subject: [PATCH] Change field type of timestamp_rounding to Float to allow higher precision timestamp in sequence fixes issue2049 --- trytond/ir/sequence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/ir/sequence.py b/trytond/ir/sequence.py index aa13ef7d91..828f4b27ce 100644 --- a/trytond/ir/sequence.py +++ b/trytond/ir/sequence.py @@ -49,7 +49,7 @@ class Sequence(ModelSQL, ModelView): states={ 'invisible': Not(In(Eval('type'), ['incremental'])), }, depends=['type']) - timestamp_rounding = fields.Integer('Timestamp Rounding', required=True, + timestamp_rounding = fields.Float('Timestamp Rounding', required=True, states={ 'invisible': Not(In(Eval('type'), ['decimal timestamp', 'hexadecimal timestamp'])),