Odoo Help

Welcome!

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.

0

Convert widget=float_time to 24h format.

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

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)

Stats

Asked: 9/5/16, 3:41 AM
Seen: 432 times
Last updated: 11/24/16, 11:17 PM