Odoo Help


Convert widget=float_time to 24h format.

on 9/5/16, 3:41 AM 606 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.

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.

On 11/24/16, 11:17 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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.


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)


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