Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5852 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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)
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

 

Ảnh đại diện
Huỷ bỏ

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.

Tác giả

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).

Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3463
0
thg 12 24
1535
1
thg 7 23
5904
0
thg 6 21
2473
1
thg 11 17
39