| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 275 |
| Technical Name |
nx_auto_logout |
| License | LGPL-3 |
| Website | https://nexeerp.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 275 |
| Technical Name |
nx_auto_logout |
| License | LGPL-3 |
| Website | https://nexeerp.com |
| Versions | 18.0 19.0 |
Auto Logout
Protect Idle Sessions with a Live Countdown Timer
Key Features
Per-User Control
- Enable or disable per user
- Set inside User Preferences
- Also in My Profile popup
- Admin can configure any user
Live Countdown Timer
- Displays in top-right corner
- Updates every second
- MM:SS format always visible
- Configurable timeout (minutes)
Smart Warning System
- Amber warning at 60 seconds
- Red pulse at 30 seconds
- Warning banner appears
- Any activity resets timer
Full Activity Detection
- Mouse movement & clicks
- Keyboard input
- Touch events
- Page scroll
Secure Auto Logout
- Redirects to login page
- Session safely terminated
- Protects sensitive data
- Works on all Odoo screens
Lightweight & Native
- Built with OWL framework
- Zero external dependencies
- No performance impact
- Odoo 18 native integration
How It Works
Step 1 - Enable Per User
Go to Settings → Users, open any user, go to the Preferences tab, and toggle Enable Auto Logout. Set the idle timeout in minutes. Users can also do this from their own My Profile preferences popup.
Step 2 - Timer Appears
Once enabled, a countdown widget appears in the top-right corner of every Odoo backend screen. It shows the remaining idle time in MM:SS format, updating live every second.
Step 3 - Activity Resets Timer
Any mouse movement, keyboard input, click, touch, or scroll instantly resets the countdown back to the full timeout. The widget returns to its normal purple state.
Step 4 - Auto Logout
If the session stays idle for the full timeout, the user is automatically and safely logged out and redirected to the login page. No manual action needed.
Three Visual States
The timer widget changes color as the session approaches logout, keeping users clearly informed.
Normal
Purple lock icon. Session is safe with plenty of time remaining.
Warning (⤠60s)
Amber border and timer. Time to move the mouse or finish up.
Urgent (⤠30s)
Red pulsing border + warning banner. Logout is imminent.
NEXERP PRIVATE LIMITED
Premium Quality Odoo Extensions
Visit www.nexeerp.com
Version 18.0.1.0.0 | License: LGPL-3 | Powered by Odoo 18
Please log in to comment on this module