Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1775 Weergaven

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
Annuleer
Beste antwoord


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

You should make sure your code creates UTC values.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 24
3807
2
mrt. 15
1213
2
jul. 24
9040
1
aug. 21
2889
1
nov. 16
10313