跳至内容
菜单
此问题已终结

Whenever i create an internal note or any other message inside the odoo it always says its posted 2 hours ago. I checked my timezone, server's timezone also log files to make sure the time is correct. Everything looks normal and they're all at the right time. Has anyone ever encountered this kind of problem.

To be more clear here is a picture of it, i just sent this internal note and it says 2 hours ago

形象
丢弃
最佳答案

Odoo displays time based on the timezone of odoo users not based on the timezone of the system.  By default the timezone is UTC.  So there are two things you should check.

  1. Your user's timezone
  2. The timezone of an inactive default user called "Public User".  The timezone of this user is used for all public access to your server.  (anonymous access to the system)
形象
丢弃
编写者 最佳答案

What an awesome karma system odoo has, i can't post a comment to my own question's answers! God, this odoo really kills me.

Thanks Stephen but i checked both my user and "Public User's" timezone. I'm posting internal note's as a admin and admin user has the correct timezone set already.

 

形象
丢弃

Do all users show this two hour lag or only the admin? Also you can test the same thing on runbot.odoo.com to verify that it is a bug then post a GitHub issue.

The karma thing is because of spammers. I hope soon odoo will finish their update to the forums to fight spammers and then the Karma can be set more reasonable. For now you can comment on your own questions and answers.

编写者

Yeah i hope it'll get better. This problem happens for every user i tried. Also i can't test it on runbot.odoo.com because it says i don't have permission to set my timezone.

Login: admin, Password: admin. I just tried and was able to set the timezone for admin and "Public User" to Chile. You can set them to your timezone of Antarctica (ahem).

编写者

thanks Stephen you are awesome, yeah i tried on the odoo website and it worked. So i thought i should update my odoo repo on my local and baam nothing works right now. i'm getting AttributeError: 'NoneType' object has no attribute 'cursor' for one database and another one gives me psycopg2.ProgrammingError: column website.domain does not exist LINE 1: SELECT "website".id FROM "website" WHERE ("website"."domain"... both db's were fine before the update on my local repo. Thanks for all your help

Thank you... Best wishes.

Also, might be good to check your server's time. Maybe it is your server's time that is 2 hours behind.

相关帖文 回复 查看 活动
0
3月 15
3430
0
12月 24
1470
1
7月 23
5817
0
6月 21
2452
1
11月 17
39