Skip to Content
मेन्यू
This question has been flagged
2 Replies
5180 Views

'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
Discard
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
Discard
Best Answer

Arithmetic with datetime objects is done using timedelta.

Avatar
Discard
Related Posts Replies Views Activity
1
मई 21
11697
7
अप्रैल 16
14907
1
मार्च 15
6028
1
दिस॰ 23
1382
0
नव॰ 23
1517