Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5579 Vistas

'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
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

Arithmetic with datetime objects is done using timedelta.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 21
12042
7
abr 16
15274
1
mar 15
6456
1
dic 23
1635
0
nov 23
1826