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

Hey i have a datetime field named as check_in and a float field which is hour_from. I want to subtract both these field to see how late was my employee.

One field is in hr.attendance and other in resource.calendar. Kindly suggest me how it can be done.

Avatar
Descartar
Mejor respuesta

Hi

Refer,

https://www.odoo.com/forum/help-1/question/convert-datetime-to-float-float-time-24305

https://www.odoo.com/forum/help-1/question/how-to-compute-the-difference-of-two-datetime-fields-and-have-the-results-in-float-119047

Aswini iWesabe

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jun 25
1008
0
may 21
3032
0
feb 20
2820
0
mar 15
3697
0
mar 15
3205