İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1821 Görünümler

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
Vazgeç
En İyi Yanıt


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

You should make sure your code creates UTC values.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 24
3837
2
Mar 15
1213
2
Tem 24
9078
1
Ağu 21
2908
1
Kas 16
10332