Overview
Companies that record attendance with fingerprint or face terminals normally have to copy the logs into Odoo by hand. This module connects to the device over its IP address and port, downloads the punches and turns them into Odoo attendance records. It extends the Attendance app with a device configuration menu and a daily attendance log. HR officers get accurate attendance and payroll inputs without manual entry.
Usage steps
- 1
Register the device
Under Attendance > Biometric Manager > Device Configuration the user creates a device with its Machine IP, Port No, working address and company. The form is the control panel for that device.
- Machine IP and port are required
- Working address
- Company
- 2
Map employees to device IDs
On the employee form the field Biometric Device ID holds the user number stored on the terminal. Punches are matched to employees through this ID.
- Set Biometric Device ID
- Must match the terminal user
- One ID per employee
- 3
Download attendance
The Download Data button connects to the device using the pyzk library, reads the log and creates zk.machine.attendance rows. It raises clear errors if the library is missing or the device cannot be reached.
- Button: Download Data
- Needs pyzk installed
- Error if unreachable
- 4
Automatic download by cron
A scheduled action calls cron_download so punches are pulled on a schedule without anyone clicking. Duplicate punches are skipped.
- Runs for every registered device
- No manual step
- Duplicates ignored
- 5
Create Odoo attendance
Each punch is classed as Check In or Check Out and the module writes check_in and check_out on hr.attendance, with a constraint against overlapping times. The device punch time and type are kept beside the record.
- Punch type: Check In/Out
- Attendance type: Finger etc.
- Overlap constraint
- 6
Review the daily attendance log
The Attendance log menu opens a report of punches with filters for My Attendance, Today and Current Month and grouping by date. HR uses it to audit the raw punches.
- Filters: My Attendance, Today, Current Month
- Group by date
- Search by employee
- 7
Clear the device log
After the data is safely downloaded the Clear Data button wipes the log stored on the terminal. It warns if the log is already empty.
- Button: Clear Data
- Irreversible on the device
- Download first
Screens
Illustrative mockups with placeholder data.
Name
Filters
<class 'filter'>
<class 'filter'>
<class 'filter'>
Group By
—
Added by this module
Roles
| Role |
|---|
| HR officer |
| Attendance manager |
| System administrator |
Dependencies
Want to know more or try this app? Contact us
We can arrange a demo or a trial and answer your questions about Biometric Device Integration.