HR Attendance Geolocation Required
This module enforces mandatory geolocation for employee attendance in Odoo 17. Without this module, employees can clock in and out without providing location data. With this module, employees must enable location services in their browser and have GPS active on their device before they can check in or out.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Adds a company setting that forces employees to share their GPS location before they can check in or out, both from the attendance app and the kiosk. If location is missing, Odoo refuses the check-in with an error message.
This module adds an option to make GPS location mandatory when employees clock in or out. It is controlled by a new checkbox, "Require Geolocation for Attendance", found in the Attendance settings screen under a "Geolocation" section. The setting is stored per company, so each company can decide for itself.
When the option is switched on: - An employee who tries to check in or out without location data is blocked and sees the message "You must activate location and GPS to clock in." - The same rule applies in kiosk mode: the kiosk refuses the check-in when latitude or longitude is missing and shows the error to the person at the screen. - In the kiosk, the error is shown as a notification, and the usual "Wrong Pin" message is hidden while this location error is being displayed, so the user sees the real reason.
The rule is checked on the server side, so it cannot be bypassed by simply disabling the browser prompt. It affects the employee attendance action and the kiosk check-in route. No new menus or reports are added; the only visible change is the new setting and the blocking error message.
Depends on
Models and fields (2)
- res.company · extends an existing modelattendance_geolocation_required (Require Geolocation for Attendance)
- res.config.settings · extends an existing modelattendance_geolocation_required
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/hr-attendance.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.0- Go to _Settings > Attendances_ and enable the option Require Geolocation for Attendance to make GPS coordinates mandatory for check-in/check-out in kiosk mode. This setting is company-specific.
- Ensure that geolocation services are enabled on the employee's device.
- Open _Attendances > Manage Attendances > Kiosk Mode_.
- Employees attempting to check in or out must allow location access in their browser.
- If location access is denied, a notification appears instructing the user to enable geolocation.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.