How to retrieve check in time from database in hr_attendance in odoo.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- 프로젝트
- MRP
신고된 질문입니다
1
회신
2897
화면
Hi,
Its rather simple question, you can fetch it directly from the database table,
attendance_rec = self.env['hr.attendance'].search([])
for rec in attendance_rec:
print rec.check_in
The search method will return all the records in the attendance table and iterating over the for loop and from the field named check_in you can get the check-in time. The value you will get will be in UTC, you can convert it to the users timezone.
Thanks
Hello, how can i save data to backend when check in through website? Please help me on this.
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
2
7월 25
|
5842 | ||
|
2
10월 25
|
8475 | ||
|
2
11월 24
|
29321 | ||
|
2
5월 24
|
8124 | ||
|
3
3월 24
|
7540 |