π Sunu Login Log
Know exactly who connects to your Odoo, from which network and with what device. Every login is automatically tracked: real client IP, ISP / mobile operator, VPN & proxy flags, approximate city geolocation, browser and device β built for audit.
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: Network Audit Signals
Real Client IP β even behind a proxy
Resolves the true public IP of the visitor even behind a reverse proxy or load balancer (nginx, Odoo.shβ¦) by reading X-Forwarded-For / X-Real-IP. No more logging your own server's address.
ISP / Mobile Operator
Detects the Internet provider or mobile operator behind each IP (Orange, MTN, Free, Yasβ¦). For audit, the operator is often more telling than a dot on a map β and it cannot be faked by the browser.
VPN / Proxy & Hosting Flags
Each login is flagged when it comes through a VPN / proxy (masked location) or from a hosting / datacenter (unusual for a regular employee). A ready-made "Suspicious connections" view lists them at a glance.
Approximate City Geolocation
City, region and country from the IP via the free ip-api.com service (no API key), plus approximate map coordinates and a direct map link. Silent, no permission prompt β suitable for real audit.
π― Honest by Design
All Features
Network Tracking
Captures the real client IP of every connection (IPv4 & IPv6), plus the organisation and autonomous system (AS) behind it.
Search Filters & Group-By
Filter by user, operator/ISP, city, country, VPN/proxy, hosting or mobile, and group logins by user, operator, country, city or device β for fast audits.
Mobile Connection Flag
Marks logins coming from a mobile data network, so you can tell an office connection apart from an on-the-go one.
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)
π What's New β Version 19.0.1.2
- Real client IP resolution behind reverse proxies / load balancers (X-Forwarded-For / X-Real-IP).
- ISP / operator, region and postal area now captured for every login.
- New audit flags: mobile connection, VPN / proxy, hosting / datacenter.
- New "Suspicious connections" view, plus search filters and group-by (user, operator, country, city, device).
- Map coordinates honestly labelled as approximate (city / operator level).
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
|
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 435 |
| Technical Name |
sunu_login_log |
| License | LGPL-3 |
| Website | https://xarelam.com/ |


Please log in to comment on this module