Our company has RFID enter-leave system which writes events into sql server. I wrote a python script which runs every something and reads current date events from sqlserver database and writes it to the odoo postgres hr.attendance table, calculating worked_hours and filtering already present rows. What are other tables I need to write data o to have complete checkin checkout with green icon indication? Also maybe there are other more straightforward ways to perform checkin from external souce?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
2445
Lượt xem
Hi,
Seems you are already in the right track, we just need to import the attendance data to hr.attendance table with all the information's.
To check in from external options there is no other ways, we have to write own scripts/codes to import the data between odoo and attendance source.
Thanks
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
0
thg 4 21
|
2969 | ||
|
|
2
thg 10 25
|
149 | ||
|
|
1
thg 10 25
|
5580 | ||
|
|
3
thg 9 25
|
1865 | ||
|
|
2
thg 9 25
|
2985 |
What i finally did is
1. Write or update event at hr_attendance table
2. Update hr_employee table fields - last_check_in or last_check_out, write_date, last_attendance_id
after that the attendance indication icon updates immediately