This module automatically closes inactive user sessions based on a configurable timeout. If no activity is detected within the set duration, the session is destroyed, and the page reloads.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Automatically logs out users who have been inactive for a configurable number of seconds. Administrators set the timeout in Settings; when the time passes without mouse or keyboard activity, the session is closed and the page reloads.
This module adds an automatic logout for inactive users. An administrator can set the allowed idle time in seconds under Settings, in the Users section, using the field "Session Auto-Close Timeout (seconds)". The default is 600 seconds (10 minutes).
Once configured, Odoo watches for mouse movement and key presses in the backend. If no activity happens within the configured time, the user's session is destroyed and the page reloads, returning the user to the login screen. The last activity time is stored in the browser, so the check also works after a page refresh.
The setting is saved as a system parameter (web_session_auto_close.timeout) and is read by the web client through a dedicated route. The module only touches the general settings screen (res.config.settings) and the web client; it does not change any business documents, sales, inventory or accounting data.
Depends on
Models and fields (1)
- res.config.settings · extends an existing modelsession_auto_close_timeout (Session Auto-Close Timeout (seconds))
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/web.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0The timeout can be adjusted in Settings > General under "Session Auto-Close Timeout", where the value is set in seconds.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.