Skip to Content
Menu
This question has been flagged
1 Reply
1063 Views

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? 

Avatar
Discard
Best Answer


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

You should make sure your code creates UTC values.

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 24
3280
2
Mar 15
1213
2
Jul 24
8460
1
Aug 21
2470
1
Nov 16
9875