HR Attendance Control
Polygon-based office identification for Odoo 19 Attendance
Overview
Record the office associated with each employee check-in and check-out. The module compares browser GPS coordinates with administrator-defined PostGIS polygons and stores the matching office on the attendance record.
Features
- Configure multiple office polygons using WKT or the included map editor.
- Display the detected office and GPS coordinates in the attendance menu.
- Store check-in/check-out latitude, longitude, and matching office.
- Show office information in attendance form and list views.
- Loading guard and short-lived geolocation cache for a smoother systray workflow.
- No analytics, telemetry, or remotely downloaded executable code.
Requirements and availability
- Odoo 19 Community or Enterprise.
- Odoo.sh or on-premise deployment; not compatible with Odoo Online.
- PostgreSQL with PostGIS installed and enabled using
CREATE EXTENSION IF NOT EXISTS postgis;. - HTTPS and browser location permission for GPS access.
- The polygon editor loads OpenStreetMap tile images and requires internet access while editing.
Configuration
- Enable PostGIS before installing the module.
- Install the module and open Attendances > Office Locations.
- Create an office and draw or paste its polygon boundary.
- Use the standard Odoo systray Check In / Check Out action.
- Review the saved GPS and office fields on the attendance record.
Privacy
After the user grants browser permission, GPS coordinates are read and stored on check-in/check-out together with the matching configured office. The module does not collect usage statistics. OpenStreetMap receives standard tile-image requests only when an administrator opens the polygon editor.
Screenshots




Support
Installation, configuration, and product support: support@apodoolabs.com
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) |
| Lines of code | 1082 |
| Technical Name |
hr_attendance_ctrl |
| License | OPL-1 |
| Website | https://apodoolabs.com/ |
HR Attendance Control
HR Attendance Control identifies the configured office polygon associated with Odoo 19 systray check-in and check-out.
Requirements
- Odoo 19 Community or Enterprise on Odoo.sh or on-premise.
- PostgreSQL with the PostGIS extension enabled.
- HTTPS and browser geolocation permission.
Configuration
- Enable PostGIS in the target database before installation.
- Install the module.
- Open Attendances > Office Locations.
- Create an office and define its polygon using WKT or the map editor.
- Use standard Odoo systray attendance actions.
Stored information
The module stores check-in/check-out coordinates and the matching office on hr.attendance. It identifies the office but does not block attendance outside configured polygons.
Privacy
GPS is read only after browser permission is granted. Coordinates and the matching office are stored in Odoo attendance records. No telemetry or usage analytics are collected.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module