跳至內容
選單
此問題已被標幟
1 回覆
1817 瀏覽次數

Hi, I made a python function that creates records in hr.attendance model.

But when i go to the attendance module and see the created records, I find them two hourse late, Although I am sure the datetime in the dabase is the correct one.
How to Solve this problem? 

頭像
捨棄
最佳答案


See https://www.odoo.com/documentation/17.0/developer/reference/backend/orm.html

You should make sure your code creates UTC values.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 24
3831
2
3月 15
1213
2
7月 24
9078
1
8月 21
2905
1
11月 16
10330