Odoo Help


This community 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.


Convert widget=float_time to 24h format.

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

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/5/16, 3:41 AM
Seen: 190 times
Last updated: 9/7/16, 4:24 AM