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
5197 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
11700
7
kwi 16
14911
1
mar 15
6033
1
gru 23
1396
0
lis 23
1528