Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1076 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 24
3297
2
мар. 15
1213
2
июл. 24
8470
1
авг. 21
2482
1
нояб. 16
9883