| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 276 |
| Technical Name |
sunu_login_log |
| License | LGPL-3 |
| Website | https://xarelam.com/ |
| Versions | 17.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 276 |
| Technical Name |
sunu_login_log |
| License | LGPL-3 |
| Website | https://xarelam.com/ |
| Versions | 17.0 19.0 |
🔐 Sunu Login Log
Know exactly who connects to your Odoo, from where and with what device. Every login is automatically tracked with GPS geolocation, city, country, browser and device type.
Why Sunu Login Log?
Do you know who logged in yesterday at 2am? From which country? With which device? Sunu Login Log gives you a complete, automatic audit trail of every connection — so you can detect suspicious access, enforce compliance, and protect your organization with full visibility.
⭐ Highlight Feature: GPS Geolocation
Automatic IP Geolocation
Every login is automatically geolocated using the free ip-api.com service — no API key, no configuration. The module detects the city and country from the IP address, and captures latitude & longitude coordinates.
Google Maps Link
Each login record includes a direct clickable Google Maps link pointing to the exact geolocation coordinates. One click to see on a map where the connection originated.
Detect Suspicious Access
Instantly spot logins from unexpected countries or cities. If your administrator always connects from Dakar and suddenly a login appears from another continent — you'll know immediately.
Private IP Handling
The module intelligently skips geolocation for private/local IP addresses (192.168.x.x, 10.x.x.x...) and handles all errors gracefully — a failed geolocation never blocks the login.
All Features
Network Tracking
Captures the IP address of every connection. Works with IPv4 and IPv6.
Device Detection
Identifies the device type: Desktop, Mobile, Tablet or Bot. Uses the user-agent string for accurate detection.
Browser & OS Detection
Detects the browser (Chrome, Firefox, Safari, Edge...) and the operating system (Windows, macOS, Linux, Android, iOS...).
Timestamp & Session
Records the exact login date and time, plus the unique session ID for cross-referencing with Odoo server logs.
Admin Login Flag
Marks administrator logins with a special flag for quick filtering and privileged access monitoring.
Multi-Company Context
Records the company, database name, language and timezone for each login — essential for multi-company Odoo deployments.
Read-Only Audit Log
Login records are immutable — they cannot be modified or created manually. This guarantees the integrity of your audit trail.
Non-Blocking
Any error during logging (network issue, API unavailable) is silently caught. The user login is NEVER blocked by a logging failure.
Data Captured on Every Login
Screenshots
|
|
Requirements & Compatibility
📦 Dependencies: base, web
🐍 Python package: user_agents (install with
pip install user-agents)🌐 External service: ip-api.com (free, no API key needed)
📄 License: LGPL-3 (free & open source)
Support
🌐 Website: https://xarelam.com
🐛 Issues resolved within 5 business days
🚀 Also by XARELAM — Premium Modules for Odoo 19
If you found this free module useful, discover our premium AI-powered suite:
🧾 Sunu Facture Digitale
€99
|
💸 Sunu Dépense HR
€69
|
🎯 Sunu CV Digital
€69
|
📬 Sunu Courrier
€169
|
💰 Sunu Petty Cash
€20
|


Please log in to comment on this module