コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5252 ビュー

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

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

Arithmetic with datetime objects is done using timedelta.

アバター
破棄
関連投稿 返信 ビュー 活動
1
5月 21
11736
7
4月 16
14959
1
3月 15
6074
1
12月 23
1432
0
11月 23
1561