콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1908 화면

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
3911
2
3월 15
1213
2
7월 24
9201
1
8월 21
2984
1
11월 16
10410