Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 157 |
Technical Name |
auto_logout_idle_user_odoo |
License | AGPL-3 |
Website | https://www.cybrosys.com |
Versions | 14.0 15.0 16.0 17.0 18.0 |

Logout Idle User
Manages to logout when user is idle

Key Highlights
A protection to your odoo session.
Manages to logout when user is idle.
User can set their idle time in their profile.
Can set the idle time limit in user profile.

User need to enable the option idle timer under Settings -> Users -> Preferences after that set time for idle.

After completion of above step a timer will be displayed in the systray

After completion of timer the user will be logout automatically.
-
Manages to logout when user is idle.
-
User can set their idle time in their profile.
Initial Commit for Logout Idle User.
Related Products
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Support
Got questions or need help? Get in touch.
Say hi to us on WhatsApp!
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThank you for creating a wonderful application. Could you update the version for Odoo 18? Thank you very much!
Re:
Migration in progress
Re: Error when displaying a field in the list view on Odoo 17
this is this file : auto_logout_idle_user_odoo/static/src/js/systray.js
Re: Error when displaying a field in the list view on Odoo 17
I'm just sharing the update I made. I'll let you validate it and post it.
// Add this check
const timerElement = document.querySelector("#idle_timer");
if (timerElement) {
if (hours && days) {
timerElement.innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s ";
} else if (hours) {
timerElement.innerHTML = hours + "h " + minutes + "m " + seconds + "s ";
} else {
timerElement.innerHTML = minutes + "m " + seconds + "s ";
}
/** if the countdown is zero the link is redirect to the login page*/
if (distance < 0) {
clearInterval(idle);
timerElement.innerHTML = "EXPIRED";
location.replace("/web/session/logout")
}
}
}, 1000);
Re: Re: Error when displaying a field in the list view on Odoo 17
Thanks for sharing.
We will look in to it
Re: Error when displaying a field in the list view on Odoo 17
Hi,
Yes, if I uninstall the module or uncheck the option at the user level, the error disappears.
I fixed the bug; I can resend the fix to you if you'd like.
Re: Re: Error when displaying a field in the list view on Odoo 17
Please submit a PR to our git repo.
https://github.com/CybroOdoo/CybroAddons
Error when displaying a field in the list view on Odoo 17
Hi,
On version 17, this error appears when trying to display a field in the list view from Studio, particularly in the Accounting module (Customer or Vendor Invoice). However, I believe the issue affects all modules.
Here is the encountered error:
UncaughtClientError > TypeError
Uncaught Javascript Error > Cannot set properties of null (setting 'innerHTML')
TypeError: Cannot set properties of null (setting 'innerHTML')
at https://domainename/web/assets/351e50f/web.assets_web.min.js:22929:715
Re: Error when displaying a field in the list view on Odoo 17
Did you try without this app?
When multiple custom apps are installed, errors like this can be caused. Please check if any custom modules might be conflicting. Please check