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

Timestamp on one2many field doesn't match from database timestamp

By
Eric
on 3/31/15, 4:56 PM 615 views

Hello, I have a datetime field that is being saved correctly in the database but is not being displayed correctly in the form view.  Im sure it has something to do with time zones and the UTC time zone.  How can I get the time from the database to appear correctly on the one2many control on the form view? 

1

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
4136
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 3/31/15, 5:06 PM

configure same timezone of your server for each user.

-1

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 3/31/15, 9:28 PM

Odoo/OpenERP will store the time in the database at UTC timezone.  The display in the client will be dependant on the user's timezone configuration.  If the user's time zone is set to UTC (GMT+0.00), then it will just display whatever in the database.

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: 3/31/15, 4:56 PM
Seen: 615 times
Last updated: 4/2/15, 6:27 PM