Odoo Help

1

Wrong time / timezone displayed (Odoo 10)

By
Juanjo
on 10/26/16, 2:29 PM 1,591 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 Lane
on 10/30/16, 2:06 PM

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.

Register

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)

Stats

Asked: 10/26/16, 2:29 PM
Seen: 1591 times
Last updated: 11/26/16, 5:01 AM