Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1777 Переглядів

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
3807
2
бер. 15
1213
2
лип. 24
9040
1
серп. 21
2889
1
лист. 16
10313