How hanineou/odoo18-custom-modules works
This repository is a collection of Odoo addons for HR operations: payroll, attendance capture and synchronization, absence-risk analytics, and a responsive web client. Users manage payroll and attendance in Odoo; biometric and BioTime integrations transfer related records, while prediction models produce employee-level absence-risk records and alerts. The graph keeps these as distinct capabilities rather than implying one end-to-end pipeline. Sampled source supports the noted calls; other subsystem boundaries and capabilities are inferred from the file tree, since the README is empty and most modules were not sampled.
Main entry points: hr_employee.py Employee sync · hr_payslip.py Payslips · searchbar.esm.js Apps menu search · emp_clean.py Employee reconciliation
Components 27
Payroll
- Payslips
payroll/models/hr_payslip.py - Contracts
payroll/models/hr_contract.py - Salary rules
payroll/models/hr_salary_rule.py - Payslip lines
payroll/models/hr_payslip_line.py - Payslip batches
payroll/models/hr_payslip_run.py
Attendance
- Attendance records
module1/models/hr_attendance.py - Attendance tools
module1/models/attendance_report_wizard.py - Biometric device
hr_zk_attendance_oca/models/biometric_device_details.py - Device punches
hr_zk_attendance_oca/models/zk_machine_attendance.py
BioTime Sync
- BioTime config
zk_biotime_sync/models/zk_config.py - Employee sync
zk_biotime_sync/models/hr_employee.py - Sync log
zk_biotime_sync/models/zk_sync_log.py - Employee reconciliation
assas_biotime_sync/models/emp_clean.py
Absence Analytics
- Absence prediction
ai_absenteeism_dashboard/models/absence_prediction.py - Employee profile
ai_absenteeism_dashboard/models/employee_profile.py - Punctuality score
ai_absenteeism_dashboard/models/punctuality_score.py - Pattern alerts
ai_absenteeism_dashboard/models/pattern_alert.py - Overtime anomalies
ai_absenteeism_dashboard/models/overtime_anomaly.py
Responsive Client
- Responsive UI
web_responsive/static/src/legacy/js/web_responsive.esm.js - Apps menu search
web_responsive/static/src/components/menu_searchbar/searchbar.esm.js - Canonical search
web_responsive/static/src/components/menu_canonical_searchbar/searchbar.esm.js - Odoo search
web_responsive/static/src/components/menu_odoo_searchbar/searchbar.esm.js - Fuse search
web_responsive/static/src/components/menu_fuse_searchbar/searchbar.esm.js - Command palette
web_responsive/static/src/components/command_palette/main.esm.js
Other components
- HR user
- BioTime service
- Odoo web client
Connections 27
- HR user → Payslips: manages
- Payslips → Contracts: resolves
- Payslips → Salary rules: evaluates
- Payslips → Payslip lines: computes
- HR user → Payslip batches: batches
- HR user → Attendance tools: requests reports
- Biometric device → Device punches: imports punches
- Device punches → Attendance records: creates attendance
- HR user → Biometric device: manages device
- Employee sync → BioTime config: uses API config
- Employee sync → BioTime service: syncs employees
- Employee sync → Sync log: logs results
- Employee sync → BioTime service: pre-syncs related records
- Employee reconciliation → BioTime service: fetches and updates
- Employee reconciliation → Odoo web client: reads employees
- HR user → Absence prediction: runs predictions
- Absence prediction → Employee profile: associates employee
- HR user → Punctuality score: reviews scores
- HR user → Pattern alerts: reviews alerts
- HR user → Overtime anomalies: reviews anomalies
- Odoo web client → Responsive UI: hosts
- Responsive UI → Apps menu search: provides menu
- Apps menu search → Canonical search: selects search mode
- Apps menu search → Odoo search: selects search mode
- Apps menu search → Fuse search: selects search mode
- Odoo search → Command palette: opens palette
- Canonical search → Odoo web client: searches menu tree