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.

1

Wrong time / timezone displayed (Odoo 10)

By
Juanjo
on 10/26/16, 2:29 PM 361 views

I'm running Odoo 10 for Windows and I'm having a problem with timezone and/or displayed times...

In example, displayed time at any Quotation/SaleOrder is always 2h ahead and it doesn't matter the timezone specified at my user preferences (there is a warning sign when I set a different TZ than the browser TZ but displayed time within Odoo objects is always +2h).


If I export that quote and I look at the time fields I see that write_date matches UTC time, and that seems correct (as far I know database works at UTC time). Therefore, date_order is 2h ahead which seems to match my timezone. So, the problem seems to be when this is displayed at the browser where states that Quote time is 4h ahead from UTC (so 2h ahead my TZ).

Example:

- 26/10/2016 20:05 Quote creation local clock time
- 26/10/2016 22:05 What Odoo displays at order date (gui/browser)
- 26/10/2016 18:05 Exported write_date field
- 26/10/2016 20:05 Exported date_order field

I’ve experienced this issue installing Oddo server on two diferent computers and different windows versions, as well as using 2 different browsers.

Any help would be appreciated. Thanks.

2
Juanjo
On 10/28/16, 5:57 PM

It seems it is a bug for windows editions...

Found the key to fix this issue at: https://www.odoo.com/es_ES/forum/ayuda-1/question/time-zone-issue-329
I modified it to match Odoo v10 so:

- Create a .reg file with the following text:

Windows Registry Editor Version 5.00
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\odoo-server-10.0]
"Environment"=hex(7):54,00,5a,00,3d,00,55,00,54,00,43,00,00,00,00,00

- Execute/double click on file in order to import this setting to registry.
- Restart Odoo server service.

:)


I had this same problem with time stamp issue in Odoo 10 on Windows 10. For example, incorrect time stamp (-7 hours offset) is shown when I log a message in the lead form. This reg patch fixes the issue. Thank you!

Tim
on 10/30/16, 2:06 PM

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: 10/26/16, 2:29 PM
Seen: 361 times
Last updated: 11/26/16, 5:01 AM