Odoo Help

0

Convert widget=float_time to 24h format.

By
AlbertSaez
on 9/5/16, 3:41 AM 957 views

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
ayman mohammed adam
On 9/5/16, 6:57 AM

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.


0
pyv99939
On 11/24/16, 11:17 PM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/5/16, 3:41 AM
Seen: 957 times
Last updated: 12/6/16, 11:57 PM