| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 166 |
| Technical Name |
multiple_tab_restrictions |
| License | LGPL-3 |
| Website | https://www.envisiontechnolabs.com |
โฆ Odoo Security Module
Multiple Tab Restriction
One Session. One Tab. Full Control.
Prevent users from opening multiple Odoo tabs simultaneously โ improve security, avoid data conflicts, and keep your sessions clean and controlled.
|
1 Tab
Enforced Per User
|
Auto
Detection & Alert
|
๐ Secure
Session Control
|
| ๐ | Strategic Overview |
| In busy Odoo environments, users often open multiple tabs โ causing data sync issues, session conflicts, and security risks. Our Multiple Tab Restriction module detects duplicate tabs instantly and shows a clear prompt to close the extra tab, keeping your Odoo instance stable, secure, and consistent. |
๐ Instant Detection
Detects multiple open tabs the moment a new Odoo tab is launched.
๐ซ Smart Block
Shows a clear modal popup asking the user to close the duplicate tab immediately.
|
What's Inside
Core Capabilities
|
๐
Tab Detection
Uses BroadcastChannel API to detect multiple open Odoo tabs in real time.
|
๐ช
Modal Popup
Clean, non-dismissible popup appears with a "Close This Tab" button โ no confusion.
|
๐ค
Per-User Control
Each logged-in user is individually tracked. Multi-user setups fully supported.
|
โก
Zero Config
Install and activate โ no configuration needed. Works out of the box immediately.
|
Why Use It
Key Benefits
|
๐ก๏ธ Prevent Data Conflicts
Multiple open tabs can submit conflicting form data or overwrite each other's changes. This module stops that entirely.
๐ Improve Security
In shared workstations or enterprise environments, limiting tab usage reduces session hijacking and unauthorized access risks.
|
๐ Reduce Server Load
Each open tab maintains active WebSocket and polling connections. Fewer tabs means less server load and better performance.
๐งน Clean User Experience
Users are guided with a clear, friendly message instead of confusing errors or silent data loss.
|
Under The Hood
How It Works
Detection happens client-side using the browser's BroadcastChannel API โ no polling, no server calls, instant response.
|
โฆ Detection Flow
When Odoo loads in a browser tab, it broadcasts a "tab-open" signal. If another Odoo tab is already open, it responds immediately. The new tab detects this response and shows a blocking modal โ preventing any interaction until the user closes the extra tab.
|
|
|
๐ก
BroadcastChannel
Uses the browser's native BroadcastChannel API โ no external libraries needed.
|
๐ฅ๏ธ
Client-Side Only
Zero extra server requests. Detection is instant and runs entirely in the browser.
|
๐
Works on Close
When the duplicate tab is closed, the original tab immediately resumes normal operation.
|
Workflow Showcase
Multiple Tab Restriction in Action
From installation to real-time tab blocking โ seamless session control, every time.
|
โถ
|
Watch: How It Works
See the Multiple Tab Restriction module detect a duplicate tab and block it instantly with a modal popup โ all in real time.
|
|
1
|
Install the Module
Search multiple_tab_restrictions in Odoo Apps and click Activate to install. No dependencies required.
|
|
2
|
Multiple Tab Detected โ Modal Popup
When a second Odoo tab is opened, the module instantly detects it and shows a "Multiple Tab Detected" modal. Only one tab can remain active at a time.
|
|
3
|
Tab Closed โ Session Secured
Clicking "Close This Tab" redirects the duplicate tab to the login page. The original tab continues normally โ your session stays clean and secure.
|
Get Started
Installation
๐ฆ How to Install
| 1. Copy module to your addons folder |
| 2. Update Apps List from Settings |
| 3. Search: multiple_tab_restrictions |
| 4. Click Activate โ done! โ |
Please log in to comment on this module