Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Attendance
  3. WFA Attendance Security (Selfie & Anti-Fake GPS) v 18.0
  4. Sales Conditions FAQ

WFA Attendance Security (Selfie & Anti-Fake GPS)

by pawangpython1@gmail.com
Odoo

$ 104.07

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Attendances (hr_attendance)
• Employees (hr)
• Discuss (mail)
Lines of code 860
Technical Name hr_attendance_security_geo_face
LicenseOPL-1
You bought this module and need support? Click here!
  • Description
  • License

WFA Attendance Security

Selfie Capture, Anti-Fake GPS Detection & Geofence Radius

Attendance security module for Work From Anywhere (WFA) employees. Prevent attendance fraud with real-time selfie verification, fake location detection (Fake GPS), and work area radius validation.

Key Features

📸 Real-Time Selfie Capture

Employees are required to take a selfie photo when checking in and checking out. The photo is captured directly from the device's front camera and stored in the attendance record.

  • ✅ Selfie photo saved in Check-in & Check-out records
  • ✅ Camera opens automatically during attendance
  • ✅ Photo preview before confirmation
  • ✅ Zoomable for verification
  • ✅ Can be enabled/disabled from Settings

🛡️ Fake GPS Detection (6 Layers)

The system detects fake location apps (Fake GPS / Mock Location) using 6 advanced detection layers:

  • 🔍 Layer 1: Direct mock flag detection
  • 🔍 Layer 2: Zero accuracy check (impossible on real GPS)
  • 🔍 Layer 3: Missing altitude data on mobile devices
  • 🔍 Layer 4: Multi-sample jitter detection (real GPS always jitters)
  • 🔍 Layer 5: Unrealistically precise accuracy (<3m)
  • 🔍 Layer 6: Static accuracy across multiple samples

⚠️ If detected, attendance is automatically REJECTED with a warning message.

📍 Geofence Radius Check

Validates the employee's distance from their designated work location. Supports per-employee coordinates (for WFA) with fallback to company coordinates.

  • ✅ Maximum radius setting (meters) at Company level
  • ✅ Per-employee work location coordinates (overrides Company)
  • ✅ Company-level office coordinates (default)
  • ✅ Accurate distance calculation using Haversine formula
  • ✅ Error message shows actual distance vs max radius
Coordinate Priority:
Employee lat/lon → Company lat/lon → No validation

🗺️ Embedded Map & Reverse Geocoding

Check-in and check-out locations are displayed directly in the attendance form with an interactive OpenStreetMap.

  • 🗺️ Interactive map embedded in the Attendance form
  • 📍 Location marker at exact check-in/check-out coordinates
  • 🌍 Automatic reverse geocoding (coordinates → city/country name)
  • 🏠 Works on local networks (LAN/private IP)
  • 📊 GPS Accuracy displayed in meters

⚙️ Configuration Guide

1. Company Settings (Global)

Go to Settings → Attendance → WFA Attendance Security

Setting Function Default
Require Selfie Capture Require selfie photo on check-in/out Off
Block Mock Location Block attendance if Fake GPS detected Off
Max Check-in Radius (m) Maximum distance from office (0 = disabled) 0
Office Latitude / Longitude Default office location coordinates -

2. Per-Employee Settings (Override)

Go to Employees → Select Employee → "Attendance Location" section

Setting Function
Attendance Latitude Employee-specific work location latitude (overrides Company)
Attendance Longitude Employee-specific work location longitude (overrides Company)
💡 Tip: Leave employee coordinates empty to use Company default. Set employee coordinates for WFA / remote site workers.

🔄 How it Works

1

Employee clicks Check-in / Check-out

From the systray menu in the top-right corner of Odoo

2

System acquires GPS location (3 samples)

Uses watchPosition to collect multi-sample GPS readings for analysis

3

Mock Location Analysis (6 Layers)

System analyzes GPS samples to detect Fake GPS. If detected → REJECTED

4

Selfie Dialog (if enabled)

Front camera opens automatically, employee must take a real-time selfie

5

Radius Validation (Server-side)

Server calculates distance to work location. If outside radius → REJECTED

✓

Attendance Successfully Saved

Selfie, GPS coordinates, accuracy, and location map are saved in the attendance record

📋 Compatibility

🏢

Odoo 18

Community & Enterprise Edition

📱

Mobile & Desktop

Chrome, Firefox, Safari, Edge

🔒

HTTPS Required

GPS & Camera require HTTPS or chrome://flags

⚠️ Important Notes

HTTPS / Secure Context: Modern browsers block GPS and Camera access on HTTP connections. Use HTTPS, or in Chrome go to chrome://flags and enable "Insecure origins treated as secure" for your Odoo address.
Reverse Geocoding: Uses OpenStreetMap Nominatim service (free). The Odoo server needs internet access to nominatim.openstreetmap.org.
Dependencies: This module only depends on hr_attendance (built-in Odoo). No additional Python libraries required.

🇮🇩 Bahasa Indonesia


WFA Attendance Security

Foto Selfie, Deteksi Fake GPS & Validasi Radius Lokasi Kerja

Modul keamanan absensi untuk karyawan Work From Anywhere (WFA). Mencegah kecurangan absensi dengan teknologi verifikasi selfie real-time, deteksi lokasi palsu (Fake GPS), dan validasi radius area kerja.

Fitur Utama

📸 Foto Selfie Real-Time

Karyawan wajib mengambil foto selfie saat melakukan check-in dan check-out. Foto diambil langsung dari kamera depan perangkat dan disimpan di record attendance.

  • ✅ Foto selfie disimpan di record Check-in & Check-out
  • ✅ Kamera otomatis terbuka saat absensi
  • ✅ Preview foto sebelum konfirmasi
  • ✅ Bisa di-zoom untuk verifikasi
  • ✅ Dapat diaktifkan/nonaktifkan dari Settings

🛡️ Deteksi Fake GPS (6 Lapisan)

Sistem mendeteksi penggunaan aplikasi lokasi palsu (Fake GPS / Mock Location) menggunakan 6 lapisan deteksi yang canggih:

  • 🔍 Lapisan 1: Deteksi flag mock langsung
  • 🔍 Lapisan 2: Cek accuracy nol (mustahil di GPS asli)
  • 🔍 Lapisan 3: Data altitude kosong pada perangkat mobile
  • 🔍 Lapisan 4: Deteksi jitter multi-sampel (GPS asli selalu bergetar)
  • 🔍 Lapisan 5: Accuracy terlalu presisi (<3m, mustahil untuk HP)
  • 🔍 Lapisan 6: Accuracy statis di semua sampel

⚠️ Jika terdeteksi, absensi otomatis DITOLAK dengan pesan warning.

📍 Validasi Radius Geofence

Validasi jarak karyawan dari lokasi kerja yang ditentukan. Mendukung koordinat per-karyawan (untuk WFA) dan fallback ke koordinat company.

  • ✅ Setting radius maksimum (meter) di level Company
  • ✅ Koordinat lokasi kerja per-karyawan (override Company)
  • ✅ Koordinat lokasi kerja di level Company (default)
  • ✅ Perhitungan jarak akurat menggunakan formula Haversine
  • ✅ Pesan error menampilkan jarak aktual vs radius maks
Prioritas Koordinat:
Karyawan lat/lon → Company lat/lon → Tidak validasi

🗺️ Peta Tertanam & Reverse Geocoding

Lokasi check-in dan check-out ditampilkan langsung di form attendance dengan peta OpenStreetMap interaktif.

  • 🗺️ Peta interaktif tertanam di form Attendance
  • 📍 Marker lokasi tepat di koordinat check-in/check-out
  • 🌍 Reverse geocoding otomatis (koordinat → nama kota/negara)
  • 🏠 Mendukung jaringan lokal (LAN/IP private)
  • 📊 GPS Accuracy ditampilkan dalam meter

⚙️ Cara Konfigurasi

1. Pengaturan Company (Global)

Buka Settings → Attendance → WFA Attendance Security

Setting Fungsi Default
Require Selfie Capture Wajibkan foto selfie saat check-in/out Off
Block Mock Location Blokir absensi jika Fake GPS terdeteksi Off
Max Check-in Radius (m) Radius maksimum dari lokasi kantor (0 = nonaktif) 0
Office Latitude / Longitude Koordinat lokasi kantor default -

2. Pengaturan Per-Karyawan (Override)

Buka Employees → Pilih Karyawan → Section "Attendance Location"

Setting Fungsi
Attendance Latitude Koordinat lokasi kerja khusus karyawan ini (override Company)
Attendance Longitude Koordinat lokasi kerja khusus karyawan ini (override Company)
💡 Tips: Kosongkan koordinat karyawan jika ingin menggunakan lokasi Company default. Isi koordinat karyawan jika karyawan bekerja dari lokasi yang berbeda (WFA / remote site).

🔄 Cara Kerja

1

Karyawan klik Check-in / Check-out

Dari menu systray di pojok kanan atas Odoo

2

Sistem mengambil lokasi GPS (3 sampel)

Menggunakan watchPosition untuk mengumpulkan multi-sampel pembacaan GPS

3

Analisis Mock Location (6 Lapisan)

Sistem menganalisis sampel GPS untuk mendeteksi Fake GPS. Jika terdeteksi → DITOLAK

4

Dialog Selfie (jika diaktifkan)

Kamera depan otomatis terbuka, karyawan harus foto selfie real-time

5

Validasi Radius (Server-side)

Server menghitung jarak ke lokasi kerja. Jika di luar radius → DITOLAK

✓

Absensi Berhasil Disimpan

Data selfie, koordinat GPS, accuracy, dan peta lokasi tersimpan di record attendance

⚠️ Catatan Penting

HTTPS / Secure Context: Browser modern memblokir akses GPS dan Kamera pada koneksi HTTP. Gunakan HTTPS, atau di Chrome buka chrome://flags dan aktifkan "Insecure origins treated as secure" untuk alamat Odoo Anda.
Reverse Geocoding: Menggunakan layanan OpenStreetMap Nominatim (gratis). Server Odoo memerlukan akses internet ke nominatim.openstreetmap.org.
Dependensi: Modul ini hanya bergantung pada hr_attendance (bawaan Odoo). Tidak memerlukan library Python tambahan.
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with