コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1091 ビュー

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? 

アバター
破棄
最善の回答


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

You should make sure your code creates UTC values.

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 24
3309
2
3月 15
1213
2
7月 24
8502
1
8月 21
2486
1
11月 16
9890