Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
May 21
2139
0
Feb 20
1966
0
Mar 15
3068
0
Mar 15
2506
4
Oct 24
9449