Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1081 Vistas

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
Mejor respuesta


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

You should make sure your code creates UTC values.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 24
3298
2
mar 15
1213
2
jul 24
8479
1
ago 21
2485
1
nov 16
9886