Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4620 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 25
1010
0
thg 5 21
3035
0
thg 2 20
2821
0
thg 3 15
3700
0
thg 3 15
3210