| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) |
| Lines of code | 209 |
| Technical Name |
ad_attendance_location_validator |
| License | LGPL-3 |
| Website | https://adreaminnovations.odoo.com |
| Versions | 17.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) |
| Lines of code | 209 |
| Technical Name |
ad_attendance_location_validator |
| License | LGPL-3 |
| Website | https://adreaminnovations.odoo.com |
| Versions | 17.0 18.0 |
Attendance Location Validator
Eliminate time theft, secure remote check-ins, and automate employee attendance validation using real-time GPS geofencing integrated directly into Odoo.
Take control of attendance fraud and buddy punching
Traditional time cards or simple digital check-ins are prone to manipulation. "Buddy punching" and remote employees checking in from home when they should be on-site cost organizations thousands of dollars annually in lost productivity. Manually verifying attendance records against location logs is slow and error-prone.
The **Attendance Location Validator** solves this by verifying the physical location of your employees in real time. When checking in or out via Odoo's native Attendance module, the system uses browser-based GPS geolocator technology to ensure they are within the designated boundary.
By enforcing strict geographical boundaries, your organization secures the integrity of work logs, automates compliance, and eliminates manual location audits.
Geofenced Compliance Scenarios
- On-Site Facilities: Retail outlets, warehouses, manufacturing units, and corporate offices requiring physical presence.
- Mobile & Field Agents: Restrict coordinate logging to client properties or site locations during scheduled hours.
- Exempt Hybrid Teams: Configure single-toggle remote exceptions for staff who legitimately work outside standard locations.
- Strict Compliance: Block check-in/out attempts if GPS permissions are disabled or spoofed, ensuring reliable data.
Key Module Capabilities
Enforce precise, tamper-proof attendance geofencing with native Odoo compatibility.
Real-Time GPS Validation
Validates check-in/out latitude and longitude against company coordinates instantly to verify physical presence.
Customizable Perimeter Radius
Set allowed radius limits in kilometers for each company to accommodate single or multi-facility sites.
One-Click Coordinates Fetching
Admins can fetch and configure their current GPS location coordinates directly from the Odoo company form using client actions.
Remote Work Exemptions
Grant individual employees permission to check in remotely via a simple checkbox on the employee record, bypassing geofencing.
Browser Geolocation Integration
Leverages standard, secure browser geolocation APIs, requiring zero additional hardware or client app installations.
Native Odoo Integration
Seamlessly overrides Odoo's standard check-in/out flows, maintaining a consistent user experience with safe validation controls.
Behind-The-Scenes Validation Logic
The module runs safe validation steps to make sure all attendance logs match configured business rules:
- Haversine Distance Formula: Calculations utilize the mathematical Haversine equation to find the exact distance in kilometers between the client browser's location and the company's coordinates.
- ORM Hook Validation: Extends native create/write methods of
hr.attendance, forcing database rollbacks if check-in or check-out attempts violate radius parameters. - Anti-Spoofing Checks: Verifies coordinates for zero/null values to block users trying to bypass location permissions on mobile or desktop browsers.
Centralized Geofence Controls
Administrators can configure parameters inside Odoo's native company and employee views:
- Per-Company Parameters: Set target Latitude, Longitude, and Allowed Radius limits separately for multi-company operations.
- Auto-Coordinates Fetcher: Click the "Get Current Location" button in company settings to instantly update the center coordinates.
- Remote Attendance Toggle: Tick "Allow Remote Check-In" on specific employee profiles to exempt individual hybrid or field staff from geofencing checks.
Interface Preview
Geofence Setup
Configure authorized attendance geofence coordinates and radius thresholds easily within company settings.
Out-of-Radius Blocker
Employees are automatically blocked from check-in/out and shown a clear error if outside the perimeter.
Remote Exceptions
Enables flexible hybrid work models with an easy single-toggle bypass field directly on employee profiles.
Quick Setup Guide
1. Install
Add the Attendance Location Validator module to your custom Odoo addons folder and install.
2. Set Geofence
Enter coordinates manually or click "Get Current Location" in Company views to define boundaries.
3. Configure Exceptions
Enable remote exemptions on individual employee profiles for field agents or hybrid workers.
4. Enforce Safety
Employees check in and check out natively, with locations automatically validated on every attempt.
Need custom Odoo development or workflow support?
ADream Innovations provides premium consulting, engineering, and support services for Odoo environments. We help organizations optimize their operations through custom Odoo Development, targeted Odoo Customization, and end-to-end Odoo Implementation setups. Our team integrates systems via custom API Integrations and automates routine workflows.
If you need an expert ERP Consulting partner to audit your HR policies or require reliable, Long-Term Odoo Support, contact us today to discuss how we can assist.
Developed by ADream Innovations under standard LGPL-3 licensing. For software updates, bug reports, or consulting inquiries, contact us.
Email: info@adream-innovation.odoo.com
Website: https://adreaminnovations.odoo.com
Please log in to comment on this module