Skip to Content
Menu
This question has been flagged
1 Atsakyti
1806 Rodiniai

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? 

Portretas
Atmesti
Best Answer


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

You should make sure your code creates UTC values.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 24
3823
2
kov. 15
1213
2
liep. 24
9070
1
rugp. 21
2902
1
lapkr. 16
10329