Session Manager & Login Security | Session Timeout | Concurrent Login Limit | Login Hours | IP Restriction
by Odexar https://www.odexar.net$ 39.00
Idle session timeout with a countdown popup, concurrent login limit, login hours, IP whitelist, live session monitor, remote logout and a complete login audit — in one app for Odoo 17, 18, 19 and 20 (Community & Enterprise, On-Premise & Odoo.sh).
Why companies install it
Shared passwords, forgotten open sessions on public PCs, logins at 3 AM from unknown places — take control in minutes.
Idle Timeout + Warning Popup
Per user, per group or global. A countdown popup with "Stay Logged In" appears before the automatic logout.
Concurrent Login Limit
Allow 1, 2, 3... devices per user. Block the new login or automatically close the oldest session.
No Lock-Out
Browser closed without logout? Abandoned sessions are detected and never block the next login.
Allowed Login Hours
Use standard Working Schedules (user time zone). Optional automatic logout when the hours end.
IP Whitelist
Single IPs and CIDR ranges per user, per group or company wide. Proxy aware, not spoofable.
Live Session Monitor
Who is online right now: browser, OS, device, IP, country, login time and idle logout countdown.
Kill Sessions Remotely
Terminate one session, all sessions of a user, or a selection. The user is logged out within seconds.
My Sessions & Devices
Every user sees his own devices from the user menu and can log out a lost phone or laptop.
Failed Login Audit
Wrong passwords, unknown logins and policy refusals with IP, browser and reason.
Analysis & Retention
Graph and pivot reports, automatic cleanup of old logs after N days.
Admin Lock-Out Protection
Administrators are exempt from IP / hours / device rules by default. Per user exemption flag.
Clean & Safe Code
No raw session id stored, no extra Python libraries, works with 2FA, Odoo.sh and multi-worker setups.
How the policy is resolved
| 1. User | Values set on the user always win. |
| 2. Groups | Otherwise the shortest timeout and the lowest session limit of all the user's groups; any group schedule allows the login. |
| 3. Settings | Otherwise the global defaults from Settings › Session Manager. |
See it in action
1.Live Sessions
Everyone connected right now with device, IP, location and idle logout countdown. Terminate any session with one click.

2.Inactivity Warning Popup
Users get a countdown before being logged out. One click on "Stay Logged In" keeps the session alive.

3.Clear Logout Reason
After a timeout, a remote termination or a policy change the login page tells the user exactly what happened.

4.Concurrent Login Blocked
With a limit of one session, a second device is refused with a clear message (or the oldest session is closed - your choice).

5.Remote Termination
When an administrator terminates a session, the user is logged out within seconds - no need to wait for the next click.

6.Per-User Policy
Timeout, maximum sessions, login hours and allowed IPs on the user. The effective policy (user > group > global) is shown live.

7.Per-Group Policy
Set the rules once on a group: the shortest timeout and lowest limit of the user's groups apply.

8.Global Settings
Default timeout, warning popup, session limit and what happens when the limit is reached.

9.Access Restrictions & Audit
Company wide IP whitelist, automatic logout after working hours, failed login logging and history retention.

10.Session History
Every login and logout with duration and why the session ended (logout, timeout, terminated, replaced...).

11.Failed Login Attempts
Spot brute force attempts and refused logins: wrong password, unknown login, IP, hours or session limit.

12.Login Analysis
Daily logins and failures in graph view.

13.Pivot Report
Sessions per user and status, exportable to Excel.

14.Session Details
Full device details, timeline and user agent for each session.

15.My Sessions & Devices
New entry in the user menu for every user.

16.Self-Service Device Logout
Users see their own sessions and log out the devices they no longer use.

Frequently asked questions
Can I lock myself out?
No. Administrators are exempt from IP, login hours and concurrent session rules unless you explicitly enable "Apply restrictions to administrators". The inactivity timeout still applies.
What happens when a user closes the browser without logging out?
Open tabs send a light heartbeat. A session without any open tab for a few minutes (configurable) no longer counts toward the session limit, so the user can log in again immediately.
Does it work behind Nginx / a load balancer?
Yes. Start Odoo with --proxy-mode and the real client IP is used. The app never trusts a raw X-Forwarded-For header by itself.
Does it work with two-factor authentication, portal users and the mobile app?
Yes. Rules can be set on the Portal group too, and the Odoo mobile app is detected as a device.
Do I need GeoIP for the country / city?
Location is filled automatically when Odoo's standard GeoIP database (geoip_city_db) is configured. Everything else works without it.
Which versions are supported?
Odoo 17, 18, 19 and 20, Community and Enterprise, On-Premise and Odoo.sh. Automated tests are included in the module.
WhatsApp +92 313 5385349 info@odexar.net www.odexar.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1704 |
| Technical Name |
odexar_web_session |
| License | OPL-1 |
| Website | https://www.odexar.net |
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