This module was written to be able to kill(logout) all inactive sessions since a given delay. On each request the server checks if the session is yet valid regarding the expiration delay. If not a clean logout is operated.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Automatically logs out users whose Odoo session has been inactive for a configurable delay (2 hours by default), while keeping certain URLs from counting as activity.
This module adds an automatic logout for inactive users. On every request the server checks how long ago the user's session was last active; if that time is longer than the configured delay, the session is closed with a clean logout instead of leaving it open indefinitely.
Two settings are stored as system parameters:
- inactive_session_time_out_delay: the inactivity delay in seconds (default 7200, i.e. 2 hours). A value of 0 or less disables the timeout.
- inactive_session_time_out_ignored_url: a comma-separated list of paths that should not refresh the session activity timer (by default /calendar/notify and /websocket).
When either parameter is changed, the module clears its internal cache so the new value takes effect immediately.
The check runs during request authentication and applies to logged-in users only; public/portal users are not affected. It touches ir.config_parameter, ir.http and res.users. There are no new menus or screens: the behaviour is automatic and configured through the existing system parameters.
Models and fields (1)
- ir.config_parameter · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/server-auth.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0Two system parameters are available:
inactive_session_time_out_delay: validity of a session in seconds (default = 2 Hours)inactive_session_time_out_ignored_url: technical urls where the check does not occur
Usage
Source · Odoo 19.0Setup the session parameters as described above.
No verified information in OCA: Installation.
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.