Web Sessions Management
by TKO http://tko.tko-br.com, http://www.opensourceintegrators.com , OSI http://tko.tko-br.com, http://www.opensourceintegrators.comAvailability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 785 |
Technical Name |
tko_web_sessions_management |
License | AGPL-3 |
Website | http://tko.tko-br.com, http://www.opensourceintegrators.com |
Versions | 8.0 9.0 10.0 11.0 12.0 13.0 |
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.
What You Get and Support
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.
- Set a week calendar to define when users can login, by company; [DONE]
- Restrict multiple sign in for same user, by company; [DONE]
- Set user session timeout, by company; [DONE]
- You can define rules by group or user, definitions in users prevails over group ones. [DONE]
- Admin user doesn't have calendar or multi-session restrictions, only timeout. [DONE]
- 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.
- Global sessions logs; [DONE]
- Graph view with Group By: [DONE]
- Session state;
- Login/Logout date time;
- User;
- and others...
- Close any active session. [DONE]
- Show user login IP (even behind a proxy). [DONE]
- Show user login IP Location using GeoIP library (don't forget to install it). [DONE]
- Show unsuccessful login attempts reasons. [DONE]
- Close all active sessions. [TODO]
- Dashboard with login/logout statistics. [TODO]
- 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:
- Users can see their own logs in preferences; [DONE]
- Users can close their active sessions in preferences; [DONE]
- 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
Report comment
Any abuse of this reporting system will be penalizedDoes this module available on Odoo Community Edition Version 14?
This is one of the best module.
Does this module available on Odoo Community Edition Version 14?
Thanks,
Tri
Works fine, but...
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...
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
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?
Getting Error while install
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
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?
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?
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
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.
Hi. Is it working in Odoo 13 Enterprise? Did you test it? Thanks.
Re:
It's not tested in v13 enterprise yet.