Overview
Field and office staff rarely sit at a desk, yet they still need to clock in, request time off, track tasks and check payslips. This module is the secure JSON-RPC backend that powers the AlShayebCo HR Flutter mobile app, exposing a complete set of /hr_attendance/mobile/* endpoints over Odoo's standard HR, attendance, time-off, project and payroll data. Employees self-serve from their phone while managers approve attendance and leave on the go, and every request is gated by the employee's existing Odoo HR roles so access matches the back office exactly.
Workflow
Hr Leave
To Approve
Second Approval
Approved
Refused
Cancelled
Key Features
- Mobile check-in status feed with company geofence config, live-tracking mode and last-attendance summary.
- Paginated attendance history including justification and approval details for the logged-in employee.
- Self-service time off: browse leave types, see allocated/used/remaining balances, file requests and cancel them.
- Multi-company and multi-employee context so one login can switch between linked companies and employee records.
- Manager approvals on the phone: batch-approve or reject outside-company attendances and confirm or refuse pending leaves.
- Role-scoped manager views (HR manager sees all, attendance officer sees their company, team lead sees their team).
- My-tasks workspace: list assigned project tasks, view details, move kanban stage, log progress notes and attach files.
- Payslip self-service: list payslip history and download the rendered payslip PDF (when Enterprise payroll is installed).
- Public 2FA finalisation endpoint that completes login for TOTP-protected accounts after the standard authenticate step.
- Configurable mobile live-tracking policy per company (off, foreground, while checked in, or background opt-in).