Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5205 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
11706
7
abr 16
14915
1
mar 15
6041
1
dic 23
1407
0
nov 23
1531