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. security
  3. Concurrent Session Restrictor v 18.0
  4. Sales Conditions FAQ

Concurrent Session Restrictor

by ADream Innovations https://adreaminnovations.odoo.com
Odoo
v 18.0 Third Party 5
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 55
Technical Name ad_concurrent_session_restrict
LicenseLGPL-3
Websitehttps://adreaminnovations.odoo.com
Versions 18.0 19.0
Odoo App Store Exclusive

Concurrent Session Restrictor

Secure your Odoo environment, prevent credential sharing, and ensure subscription compliance by restricting concurrent logins per user.

Single Active Session Control Auto-Revoke Previous Logins Credential Sharing Prevention Per-User Administrative Exclusions

Take control of user session security and unauthorized credential sharing

Allowing users to have multiple active sessions concurrently poses a significant security threat. Employees frequently share credentials (usernames and passwords), leading to inaccurate audit trails and making it impossible to identify which individual performed a specific action in your database. Additionally, concurrent sessions can lead to subscription compliance issues when multiple people share a single Odoo user license.

The **Concurrent Session Restrictor** resolves this by enforcing a strict single-session policy. By default, logging in from a new device or browser will automatically and securely terminate all other active sessions for that user.

With this automated security control, you safeguard your business intelligence, improve traceability, and protect your ERP's integrity while maintaining compliance with subscription policies.

Security & Compliance Scenarios

  • Prevent Credential Sharing: Block multiple employees from using the same user account concurrently, encouraging correct login hygiene.
  • Audit Trail Integrity: Guarantee that every action logged in the system corresponds to a single, unique user on a single active device.
  • Exempt Superusers: Easily allow administrators, system integrations, or kiosk terminals to maintain multiple sessions concurrently.
  • License Compliance: Automatically enforce the "one user, one license" policy in your Odoo ecosystem to align with software agreement rules.

Key Module Capabilities

Enforce robust session limitations with native Odoo 18 security controls.

01

Single Session Enforcement

Forces a single active login per user by default, immediately identifying and blocking simultaneous logins.

02

Auto-Revocation of Sessions

Instantly terminates and signs out older active sessions on any previous browsers or devices when a new login is detected.

03

Per-User Exemptions

Grant specific users or integration service accounts the ability to maintain multiple sessions concurrently using a simple toggle.

04

Native Device Log Extends

Built as a direct extension to Odoo 18's device tracking model (`res.device.log`), minimizing custom database overhead.

05

Silent Revocation Bypass

Revocation executes programmatically without prompting administrators for passcodes, ensuring smooth, automated background processing.

06

Enhanced Security Compliance

Assists your organization in passing security audits by preventing anonymous login sharing and establishing clear traceability.

Behind-The-Scenes Revocation Logic

The module intercepts session registration to guarantee correct execution of security boundaries:

  • Session Hook: Extends the `_update_device` method, catching new login requests and validating the active session identifier.
  • Transactional Integrity: Automatically manages read/write cursor states. When Odoo triggers `_update_device` inside a readonly transaction, the module opens a safe writable database cursor to perform session revocations securely.
  • Immediate Revocation: Revokes previous session records directly from Odoo’s `res.device` and instantly flushes model updates so other logins reflect the status immediately.

Centralized Session Controls

Administrators can configure exclusions within Odoo's native settings views:

  • Per-User Session Security: Enable the "Allow Multiple Active Sessions" checkbox under the User profile setting to exempt specific individuals.
  • Account Security Integration: Placed natively within Odoo's base security view structure for quick administration.
  • Compliance Audits: Keep track of active logins and revoked status transparently using Odoo's device settings list.

Interface Preview

Session Security Settings

Per-User Settings

Configure the 'Allow Multiple Active Sessions' override directly on the user's Odoo Account Security tab.

Active Session Log

Active Session Log

View and monitor user devices, active logins, and revoked sessions inside Odoo's device manager.

Quick Setup Guide

1. Install

Place the Concurrent Session Restrictor module in your addons path and install via Odoo Apps.

2. Auto-Restricts

By default, all user accounts are restricted to one active session. Extra logins instantly revoke old ones.

3. Configure Exclusions

Check 'Allow Multiple Active Sessions' on any User profile if they require concurrent logins.

4. Monitor Device logs

Administrators can review system access logs and revocation traces in Settings -> Users -> Devices.

Need custom Odoo security, compliance, or workflow support?

ADream Innovations provides premium consulting, engineering, and support services for Odoo environments. We help organizations optimize their operations through custom Odoo Development, targeted Odoo Customization, and end-to-end Odoo Implementation setups. Our team integrates systems via custom API Integrations and automates routine workflows.

If you need an expert ERP Consulting partner to audit your access controls, session security, or require reliable, Long-Term Odoo Support, contact us today to discuss how we can assist.

Request a Consultation Visit Our Website

Developed by ADream Innovations under standard LGPL-3 licensing. For software updates, security audits, or consulting inquiries, contact us.

Email: info@adream-innovation.odoo.com

Website: https://adreaminnovations.odoo.com

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, please use the developer contact information. They can usually be found in the description.
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