Trợ giúp

0

Convert widget=float_time to 24h format.

Avatar
AlbertSaez

Hi all, new to OpenERP.
I have a field that stores time, it is working alright with widget=float_time, but i need to store the data in 24h format and right now the field only takes 12h format input.
Is there any way to change this? Using a function or another widget?
Any tip to point me in the right direction is welcome.
Thanks!

1 Bình luận
Ảnh đại diện
Huỷ bỏ
Avatar
pyv99939
-

in the database the value is stored as Float. I hope I helped you.

1 Trả lời
1
Avatar
ayman mohammed adam
Best Answer

dear AlbertSaez ,

I think you can write directly in your field the time you don't need another widget like this:

00:0    write         23:15                   or                    06:17
 

in the database the value is stored as Float.


I hope I helped you.


Ảnh đại diện
Huỷ bỏ