Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1799 Vizualizări

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? 

Imagine profil
Abandonează
Cel mai bun răspuns


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

You should make sure your code creates UTC values.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 24
3819
2
mar. 15
1213
2
iul. 24
9068
1
aug. 21
2897
1
nov. 16
10326