v 13.0 Third Party 4752
Download for v 13.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 785
Technical Name tko_web_sessions_management
LicenseAGPL-3
Websitehttp://tko.tko-br.com, http://www.opensourceintegrators.com
Versions 8.0 9.0 10.0 11.0 12.0 13.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 785
Technical Name tko_web_sessions_management
LicenseAGPL-3
Websitehttp://tko.tko-br.com, http://www.opensourceintegrators.com
Versions 8.0 9.0 10.0 11.0 12.0 13.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]

Credits

Contributors

  • 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.
Does this module available on Odoo Community Edition Version 14?
by
Tri Nanda
on 7/10/22, 4:29 AM

This is one of the best module.


Does this module available on Odoo Community Edition Version 14?


Thanks,

Tri


Works fine, but...
by
Roberto Barbosa
on 8/10/20, 6:52 AM

Hi. The module works fine but I would point two things that need improvement: 1 - If a user is not logged in, it appears like the user admin is logged in; 2 - Link to log in with Google Account disapears. Can this two points be fixed? Best regards

Re: Works fine, but...
by
Carlos Almeida
on 8/13/20, 4:48 AM Author

Thank you for your message. We will see check these two points soon. And they will be fixed soon. Again thank you for your contribution.


Error=Access
by
João Oliveira
on 9/29/23, 12:54 PM

Alguém teve problema ao tentar logar com usuário do tipo portal.
Se sim qual seria a solução, para tentar ajustar o problema com o acesso.


hi. could we install this module on odoo 13 enterrise?
by
kingplus
on 4/28/22, 7:36 AM



Getting Error while install
by
suneel
on 12/11/20, 11:37 PM

Hi Team,

while installing this module on odoo 13, I am getting following error.

Error:

Odoo Server Error


Traceback (most recent call last):

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 624, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 310, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\tools\pycompat.py", line 14, in reraise

    raise value

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 669, in dispatch

    result = self._call_function(**self.params)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 350, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\service\model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 339, in checked_call

    result = self.endpoint(*a, **kw)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 915, in __call__

    return self.method(*args, **kw)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\http.py", line 515, in response_wrap

    response = f(*args, **kw)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\web\controllers\main.py", line 1326, in call_button

    action = self._call_kw(model, method, args, kwargs)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\web\controllers\main.py", line 1314, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\api.py", line 387, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\api.py", line 374, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "<decorator-gen-60>", line 2, in button_immediate_install

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_module.py", line 72, in check_and_log

    return method(self, *args, **kwargs)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_module.py", line 463, in button_immediate_install

    return self._button_immediate_function(type(self).button_install)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_module.py", line 573, in _button_immediate_function

    modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\modules\registry.py", line 86, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\modules\loading.py", line 423, in load_modules

    loaded_modules, update_module, models_to_check)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\modules\loading.py", line 315, in load_marked_modules

    perform_checks=perform_checks, models_to_check=models_to_check

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\modules\loading.py", line 182, in load_module_graph

    load_openerp_module(package.name)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\modules\module.py", line 377, in load_openerp_module

    __import__('odoo.addons.' + module_name)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\tko_web_sessions_management\__init__.py", line 5, in <module>

    from . import controller

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\tko_web_sessions_management\controller\__init__.py", line 5, in <module>

    from . import main

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\tko_web_sessions_management\controller\main.py", line 5, in <module>

    import simplejson

ModuleNotFoundError: No module named 'simplejson'


Please help

Suneel

Re: Getting Error while install
by
Carlos Almeida
on 12/14/20, 8:06 AM Author

You need to install simplejson

https://pypi.org/project/simplejson/1.7/

pip install simplejson==1.7


Any news about the issues I indicated in previous post?
by
Roberto Barbosa
on 9/24/20, 12:24 PM

Hello.

Are there any news about the issues I indicated in a previous post?

Best regards

Re: Any news about the issues I indicated in previous post?
by
Carlos Almeida
on 9/24/20, 6:43 PM Author

Hi we are with all hands on deck.

These issues will be postponed to October.

Covid-19 had affected everyone around us and we are trying to cope to all requests.

I'm sorry but, it's not forgotten!

Thank you for your email.

Best regards


User not logged in issue and login with Google Account
by
Roberto Barbosa
on 8/10/20, 6:56 AM

Hello. When a user is not logged in, the user Administrator appears in the logged in section as if that user is logged in. I realized that when I install this module the link to log in with Google Account is no longer available. Why? Is this module incompatible with Google Account authentication? Best regards.


by
GamerStore
on 7/23/20, 12:17 AM

Hi. Is it working in Odoo 13 Enterprise? Did you test it? Thanks.

Re:
by
Carlos Almeida
on 7/27/20, 6:05 PM Author

It's not tested in v13 enterprise yet.