Skip to Content
Menu
v 17.0 Third Party 1989
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 157
Technical Name auto_logout_idle_user_odoo
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 14.0 15.0 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 157
Technical Name auto_logout_idle_user_odoo
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 14.0 15.0 16.0 17.0 18.0
Community
Enterprise
Odoo.sh

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.
Version 17.0.1.0.0|Released on:12th Jan 2024

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

Need Help?

Got questions or need help? Get in touch.

odoo@cybrosys.com
WhatsApp

Say hi to us on WhatsApp!

+91 99456767686

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.
by
MrD
on 11/10/24, 11:36 PM

Thank you for creating a wonderful application. Could you update the version for Odoo 18? Thank you very much!

Re:
by
Cybrosys Technologies
on 11/11/24, 4:48 AM Author

Migration in progress


Re: Error when displaying a field in the list view on Odoo 17
by
Mamadou Oumar DIOP
on 3/21/25, 8:05 AM

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
by
Mamadou Oumar DIOP
on 3/21/25, 7:58 AM

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
by
Cybrosys Technologies
on 3/24/25, 12:48 AM Author

Thanks for sharing.
We will look in to it


Re: Error when displaying a field in the list view on Odoo 17
by
Mamadou Oumar DIOP
on 3/21/25, 5:05 AM

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
by
Cybrosys Technologies
on 3/21/25, 5:26 AM Author

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
by
Mamadou Oumar DIOP
on 3/19/25, 9:07 AM

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
by
Cybrosys Technologies
on 3/21/25, 1:32 AM Author

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