Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) • Project (project) |
Lines of code | 474 |
Technical Name |
websers_portal_attendance |
License | OPL-1 |
Website | https://websers.odoo.com |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) • Project (project) |
Lines of code | 474 |
Technical Name |
websers_portal_attendance |
License | OPL-1 |
Website | https://websers.odoo.com |
Versions | 17.0 18.0 |
Summary
Easily enforce location-based attendance by integrating GPS-based check-in and check-out with Odoo's Employees and Attendance applications. This module enables GPS verification before allowing employees to register attendance.
Description
This module enhances Odoo's standard Attendance app by introducing a Geo Work Location feature. It allows HR and managers to define fixed coordinates (latitude and longitude) for each employee or group of employees (e.g., branch-based). When an employee attempts to check in or out, the system verifies their current GPS location and only approves the attendance if the employee is within an allowed distance radius from their assigned work location.
Screenshots
Module in Apps List:

Set Employee Work Location:

Employee Geo Location Configuration (Settings -> Attendance Settings -> Attendance Location Radius):

Portal Check-in Interface:





Key Features
- Location-Based Attendance: Ensure employees are physically present at their assigned work location before being allowed to check in or out.
- Configurable Radius: Admins can define an "Attendance Location Radius (in meters)" in the settings to allow some flexibility in GPS matching.
- Minimum GPS Accuracy: Set the "Minimum Accepted GPS Accuracy (in meters)" to control how precise the employee's location reading must be.
- Per-Employee Setup: Each employee record can have a unique work location, ideal for multi-branch or field-based teams.
Dependencies
- Odoo Modules:
portal
,hr_attendance
,hr_timesheet
Installation
- Download: Obtain the
Geo_location_portal
module folder. - Place in Addons: Copy the
Geo_location_portal
folder into your Odoo custom addons directory. - Update Apps List: Restart Odoo, activate developer mode, and go to Apps -> Update Apps List.
- Install: Search for "Attendance Portal" and click "Install".
Configuration
- Navigate to Employees > Select an Employee > Edit > Add Latitude and Longitude.
- Go to Attendance Settings > Set:
- Attendance Location Radius (in meters)
- Minimum Accepted GPS Accuracy (in meters)
Usage
- Employee Setup: Go to Employees → Select an employee → Work Location.
- Location Assignment: Add the assigned Latitude and Longitude coordinates.
- Check-In Process: From the Attendance Portal, when an employee clicks Check In:
- If the location is within the defined radius, check-in is approved and attendance is recorded.
- If the location is outside the allowed radius, check-in is rejected.
Technical Implementation
- Adds latitude and longitude fields to the Employee form.
- Integrates GPS check via web or mobile portal check-in.
- Verifies real-time device location against stored coordinates using the defined accuracy and radius.
- Prevents attendance entry if validation fails.
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