Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5762 Widoki

'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'

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

Arithmetic with datetime objects is done using timedelta.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 21
12454
7
kwi 16
15493
1
mar 15
6631
1
gru 23
1838
0
lis 23
1971