跳至內容
選單
此問題已被標幟
2 回覆
4604 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 25
998
0
5月 21
3025
0
2月 20
2814
0
3月 15
3690
0
3月 15
3200