Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
5243 Prikazi

'sign_in_time':fields.datetime('Sing In', ), 'sign_out_time':fields.datetime('Sing Out',),

find different between date like total hour:='sign_in_time' -'sign_out_time'

Avatar
Opusti
Best Answer

On Hr_timesheet_sheet module, there is already a method to do so. See the attendance field at the right bottom. Thanks.

Avatar
Opusti
Best Answer

Arithmetic with datetime objects is done using timedelta.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
maj 21
11729
7
apr. 16
14947
1
mar. 15
6060
1
dec. 23
1425
0
nov. 23
1550