v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 3246
Download for v 8.0
Lines of code 875
Technical Name tko_web_sessions_management
Also available in version v 9.0 v 11.0 v 13.0 v 12.0 v 10.0
You bought this module and need support? Click here!
Lines of code 875
Technical Name tko_web_sessions_management
Also available in version v 9.0 v 11.0 v 13.0 v 12.0 v 10.0

    What You Get and Support

  • The ones marked with a [DONE], are complete, and the ones as [TODO] are in development.

  • We accept contributions to improve and review the code at GITHUB.

support at sac@tkobr.com

Manage Users Login Rules in Odoo

Rules by Group or User and by Company

Define login rules by groups or single users, company dependent in a multicompany configuration.

  1. Set a week calendar to define when users can login, by company; [DONE]
  2. Restrict multiple sign in for same user, by company; [DONE]
  3. Set user session timeout, by company; [DONE]
  4. You can define rules by group or user, definitions in users prevails over group ones. [DONE]
  5. Admin user doesn't have calendar or multi-session restrictions, only timeout. [DONE]
  6. Restrict accesses by client IPs. [TODO]

Global Sessions Management

Better Security!

Administrators can manage easily the open sessions, and have control of who is logged in, from wich IP, giving better view of users behaviours, improving overall security and control.
Access it at Settings>Technical>Security menu.

  1. Global sessions logs; [DONE]
  2. Graph view with Group By: [DONE]
    • Session state;
    • Login/Logout date time;
    • User;
    • and others...
  3. Close any active session. [DONE]
  4. Show user login IP (even behind a proxy). [DONE]
  5. Show user login IP Location using GeoIP library (don't forget to install it). [DONE]
  6. Show unsuccessful login attempts reasons. [DONE]
  7. Close all active sessions. [TODO]
  8. Dashboard with login/logout statistics. [TODO]
  9. Send notification to users with active sessions. [TODO]

Self Session Management

Full Control of Your Own Sessions

Every user can manage his own sessions from preferences, improving overall security:

  1. Users can see their own logs in preferences; [DONE]
  2. Users can close their active sessions in preferences; [DONE]
  3. Users can choose to close all sessions except current one. [TODO]



  • Carlos Almeida <carlos.almeida@tkopen.com>
  • Maxime Chambreuil
  • Murtuza Saleh(SerpentCS)

Author & Maintainers

This module is maintained at https://gitlab.com/tkopen/tko-addons/-/issues TKOpen Issues.

TKOpen is a Portuguese company specialized in customizing and extending Odoo. We develop custom solutions for your individual needs to help you focus on your strength and expertise to grow your business.

If you want to get in touch please contact us via mail (info@tkopen.com) or visit our website (https://tkopen.com).

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.
on 3/27/18, 5:08 PM

Great module!
Alexandre Ruffer
on 8/18/16, 7:01 PM

What a great module, thanks alot!

work as exprected
on 12/16/15, 9:08 PM

if you have geoip installed don't forget to download GeoIP.dat and place into default folder or otherwise system will prevent you from login. Or edit the main.py and at line 171 add a IOError exception to prevent this from happening.

Carlos Almeida
on 10/15/15, 11:42 AM Author

PAY ATTENTION: there is a clone of this module in apps, you should double check if you really installed tko_web_sessions_management (the TKOBR, this one), and not the cloned one, wich we don't support. As I wrote bellow, we are using this module in our own production database for months, and of course, without any issue. EVEN MORE: All, and I say again ALL, our clients have this module installed without any issue at all. Besides them a lot of others too. Also it's impossible to not be able to uninstall an Odoo module, you must be doing something terribly wrong, you should ask for help as soon as possible, or you may get into deep troubles very soon. Your approach is not very constructive, because if you really have any issue with it, you can use sac@tkobr.com wich we will gladly answer and help you understand what you did wrong. This way you are not building a thing, and worst you are creating unfounded doubts in other users minds, for sure they need to use this module, taking advantage of the increased security and user loggin control they will gain by installinng it, this will be good for all Odoo community. IMHO this is something that should be part of Odoo base from the start. Feel free to ask for help, emailing sac@tkobr.com, we are very responsive and supportive, and for sure we will have someone that could help you, no matter hard it will be. Regards,

on 9/30/15, 2:48 PM

This module is a shit, it fucked up my database, and it cant be uninstalled

my database crashes on installing these modules. it's bullshit.
on 9/22/15, 9:44 AM

Very Useful app . responsive and reliable support
92Trades Limited
on 9/8/15, 10:03 AM

I downloadd this app without any issues and it works exactly as described, also the support is very responsive and they keep their word. I am very pleased

Very surprised about!!
Carlos Almeida
on 9/23/15, 10:19 PM Author

Hi Kaushaya, thank you for your rate. We are using this module ourselves for months, and all our version 8.0 clients also tested on nightly builds, also we have code permanently updated on apps. We have made great enhancements in last month, without any issue in any database. If by any chance, you had any problem at all you can contact us on sac@tkobr.com and we will help, understand and fix, but you will have to tell us the database version, what you did and how. So we can guide you to the right direction. Feel free to send us an email to sac@tkobr.com, best regards....

on 9/22/15, 9:44 AM