Skip to Content
Menú
This question has been flagged
1 Respondre
1826 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 24
3840
2
de març 15
1213
2
de jul. 24
9082
1
d’ag. 21
2911
1
de nov. 16
10334