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
    • Estate 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. Extra Tools
  3. User Session Timeout v 17.0
  4. Sales Conditions FAQ

User Session Timeout

by Ankit
Odoo
v 17.0 Third Party 68
Download for v 17.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 114
Technical Name user_session_timeout
LicenseAGPL-3
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 114
Technical Name user_session_timeout
LicenseAGPL-3
Versions 16.0 17.0 18.0

Inactivity Timeout Module

Enhance Security for Odoo 17 with Automatic Session Timeout

Overview

The Inactivity Timeout Module for Odoo 17 ensures enhanced security by automatically logging out users after a specified period of inactivity. This module monitors user interactions (e.g., mouse movements, keyboard input, scrolling) and logs out the user if no activity is detected, protecting sensitive data from unauthorized access.

Key Features

  • Configurable Timeout: Set the inactivity timeout duration via Odoo system parameters (user_inactivity_timeout in seconds). Defaults to 10 minutes.
  • Multi-Tab Synchronization: Uses local storage to synchronize activity across multiple browser tabs, ensuring consistent session management.
  • Comprehensive Event Detection: Tracks a wide range of user interactions, including mouse, keyboard, touch, scroll, and more.
  • Debounced Event Handling: Optimizes performance by debouncing rapid user interactions to reduce unnecessary timer resets.
  • Tab Visibility Awareness: Pauses the timeout timer when the browser tab is hidden and resumes on focus, preventing premature logouts.
  • Seamless Odoo Integration: Built as a service using Odoo 17’s JavaScript framework, ensuring compatibility and easy integration.

Compatibility

This module is designed for Odoo 17 and leverages the latest Odoo JavaScript framework, including the service registry and ORM service. It is lightweight and does not require additional dependencies beyond standard Odoo components.

Installation

  1. Download the module from the Odoo App Store.
  2. Install the module via Odoo’s Apps menu.
  3. Optionally, configure the user_inactivity_timeout system parameter in Settings > Technical > System Parameters to set the desired timeout duration (in seconds).
  4. The module automatically activates for all logged-in users.

Usage

Once installed, the module runs in the background, monitoring user activity. If no interaction is detected for the configured timeout period, the user is redirected to the logout page. The module supports:

  • Automatic session timeout based on inactivity.
  • Cross-tab activity synchronization to prevent logout in active tabs.
  • Efficient event handling to minimize performance impact.

Support

For support, feature requests, or bug reports, please contact us via email at ankitpatwa.dev@gmail.com or through the Odoo App Store. We are committed to ensuring a secure and reliable experience for all users.

© 2025 Your Company Name. All rights reserved.

Built for Odoo 17 with ❤️

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.
Please choose a rating from 1 to 5 for this module.
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