Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1780 Zobrazení

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
Zrušit
Nejlepší odpověď


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

You should make sure your code creates UTC values.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 24
3811
2
bře 15
1213
2
čvc 24
9045
1
srp 21
2890
1
lis 16
10314