跳至内容
菜单
此问题已终结
1 回复
1830 查看

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
3842
2
3月 15
1213
2
7月 24
9092
1
8月 21
2916
1
11月 16
10341