Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) |
Lines of code | 1214 |
Technical Name |
ZK_Integeration |
License | AGPL-3 |
Versions | 17.0 18.0 |
Biometric Device Attendance Integration for Odoo
This Odoo module integrates biometric attendance devices with the Odoo HR attendance system. It enables syncing users, fetching attendance records, and creating employee and attendance records in Odoo based on biometric data. The module supports retry mechanisms, logging, and error handling for better fault tolerance.
Features
1. Attendance Sync
- Biometric Device Connection: Connects to biometric devices (e.g., ZKTeco) using IP address and port.
- Retry Mechanism: Includes a retry mechanism to attempt reconnection to the biometric device up to 3 times in case of network issues.
- Attendance Filtering: Attendance data can be filtered based on a user-specified date range.
- Employee Creation: Automatically creates new employees in Odoo if they are not already present in the system.
- Duplicate Attendance Prevention: Prevents duplicate attendance records by checking for existing ones before creating new records.
- Attendance Check-in/Check-out: Handles both check-in and check-out attendance based on the punch type from the biometric device.
- Employee Sync Across Devices: Syncs employee records across multiple biometric devices.
2. Logging & Error Handling
- Comprehensive Logging: Logs details related to device connection, attendance record processing, and encountered errors.
- Error Notifications: Notifies the user if errors occur during attendance record creation.
- Detailed Error Logs: Captures and logs exceptions for debugging purposes.
- Notification System: Users are notified of significant events or errors, though recent logs indicate potential issues with notification functionality (e.g., notify_info attribute errors).
3. Device Integration Updates
- Integration with Biotime 8.5: Planned replacement of the ZKTeco library (pyzk) with JWT API integration from Biotime 8.5.
- Enhanced Synchronization: Updated logic to improve synchronization efficiency between devices and the Odoo system.
- Notification Issue: The current system logs include an error related to user notification via notify_info, where the method is missing. This issue needs addressing in future updates.
Installation
Follow these steps to install the module:
- Clone the repository into your Odoo custom add-ons directory:
- Install Dependencies: Ensure that the required dependencies (such as the ZKTeco SDK) are installed.
-
Update Odoo to recognize the new module:
./odoo-bin -c odoo.conf -u all
- Configure the Biometric Device: Set the IP address and port of the biometric device in the module configuration.
Usage
The module offers functionalities for downloading attendance, syncing employees across devices, and viewing logs.
- Download Attendance: Navigate to the Biometric Device menu and select Download Attendance. The system will connect to the
Our Services
We offer comprehensive Customization, Migration, and Upgrade services to tailor Odoo to your specific business needs and ensure smooth transitions to the latest versions.
Author Information
This module was created by Samy.
Contact me at: https://linktr.ee/Prof.M.Samy
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Es compatible con relojes genéricos?, hay forma de hacer un test antes de comprar la aplicación?
Duda
Es compatible con cualquier tipo de reloj checador, hay marcas genericas que me gustaría conectar, pero quisiera primero descartar si son compatibles, qué puedo hacer?
Operation consultation with ZKTeco models
Hello, I wanted to ask if this application works with the following ZKTeco models:
MB360
X628C
MB20-VL
I appreciate your response to know if I buy the same one. Thank you
scambria@transol.com.ar
Re: Operation consultation with ZKTeco models
yes it would work if the devices can go on the network local or internet or through API
Trail
Hi
i would like to try the app if it easy i am going to buy it
osama@east.ly
Re: Trail
contact me on my whatsapp i can send you a video of the module if you would like
https://web.whatsapp.com/send?phone=+201019611709
https://linktr.ee/Prof.M.Samy
Funciona con Odoo.sh?
Re: Funciona con Odoo.sh?
Yes .