| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) |
| Lines of code | 1195 |
| Technical Name |
deqa_ai_attendance |
| License | LGPL-3 |
| Website | https://deqa.ai |
Stop manually reconciling attendance data between systems. This module creates a live bridge between your Odoo HR master data and the Deqa AI facial-recognition platform — pushing branches, schedules, and employees out, then pulling verified check-in/check-out events back in automatically.
How the sync flows
Work Locations → Deqa Branches
Working Schedules → Deqa Shifts
HR Employees → Deqa Workers
Deqa Records → hr.attendance
Steps 1–3 push data from Odoo to Deqa. Step 4 pulls verified attendance events back into Odoo. Each step depends on the previous one, and the order is enforced by the module.
What makes it different
Every synced record stores its remote deqa_id. The module skips records that already have one, so re-running an action never creates duplicates on the Deqa side.
Pulling attendance creates new hr.attendance records or updates existing ones — matched by Deqa ID — so running the sync twice never doubles up entries.
After each page of attendance is imported, the module immediately tells Deqa to flag those rows as synced. The next sync call only returns genuinely new records — no re-processing.
Every request and response is logged at INFO level (bodies truncated at 4 000 chars). Troubleshooting an API issue means reading a log, not adding debug code.
Employees are sent as a single JSON array in one API call, not one request per employee. Select 50 employees in the list view and push them all in one click.
Imported attendance records carry Late, On Leave, and Absent flags straight from Deqa, visible directly in the hr.attendance list and form views.
Scheduled vs. manual sync
A Sync from Deqa button is available on both the Attendance list view and the Settings page. One click pulls up to 5 pages (250 records) and shows a breakdown: pages walked, records created, updated, skipped, and marked synced.
A Deqa: Sync Attendance scheduled action is included but disabled by default. Enable it once the master-data sync is verified and let Odoo pull attendance automatically every day — or on any interval you choose.
Configuration
Two fields. That's it.
Go to Settings → Deqa AI Attendance and fill in:
- Service Subdomain — the subdomain or host of your Deqa instance (e.g.
test.deqa.ai). - SDK Key — the key issued by Deqa, sent as the
sdkheader on every request.
Both are stored as system parameters (deqa_ai_attendance.subdomain and deqa_ai_attendance.sdk_key) and can also be set via Settings → Technical → System Parameters if needed.
Security & access control
A dedicated Deqa Attendance Admin group gates every integration action:
the settings page, all Sync to Deqa buttons, and the API client itself (enforced server-side).
The group implies hr.group_hr_user, so admins automatically have standard HR read access as well.
Regular HR users see no Deqa fields or buttons until explicitly granted the group.
Quick start
- Install Deqa AI Attendance from the Apps list.
- Add yourself (or the integration manager) to the Deqa Attendance Admin group.
- Fill in the Service Subdomain and SDK Key in Settings → Deqa AI Attendance.
- Sync your Work Locations (Branches) — select them and use Actions → Sync to Deqa.
- Sync your Working Schedules (Shifts) the same way.
- Sync your Employees — each employee must have a work location and schedule already synced.
- Click Sync Attendance Now in Settings (or wait for the daily cron) to import check-in/check-out records.
Screenshots
Embedded Deqa Dashboard — live KPIs (present, late, absent, on leave, workers, drivers, branches, schedules) right inside the Odoo Attendances app.
Settings page — configure the Service Subdomain and SDK Key, launch the onboarding wizard, or trigger an attendance sync.
Onboarding wizard — step through credentials, work locations, schedules, employees and the sync cron in one guided flow.
Attendance list — check-in/check-out events pulled from Deqa appear directly in the standard Odoo Attendances view.
Get in touch
Questions? Reach out and we'll get back to you.
WhatsApp:
+966 58 308 4128
Email:
ahmed.saber@deqa.ai
Website:
deqa.ai
Please log in to comment on this module