Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 328 |
Technical Name |
restrict_logins |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Versions | 13.0 14.0 15.0 16.0 17.0 |

Restrict Concurrent User Login
Restrict Concurrent Sessions

Explore this module
Overview
Some times it is neccessary to restrict the user from multiple logins for security reasons.This module envisions the same.This module restricts the concurrent sessions for users.The user will get restricted from login if they already login in to another device.Also it provides an option to force logout for users. A inactive session will automatically expire after 45 minutes.
Features

Restrict concurrent sessions for users

User force logout

Automatic session expiry after 45 minutes
Screenshots
Login to Odoo
After installation, login to Odoo.

Notification when user is already logged in from other devices
When the User tries to login, a notification will prompt if he is already logged in.

Option for forced logout
Force log out from devices that are already logged in.

Suggested Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
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
Need Help?

Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedafter install error psycopg2.errors.InFailedSqlTransaction
after install the module, some times when go to the apps or settings menu show this error : Error: Odoo Server Error Traceback (most recent call last): File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 619, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 309, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\tools\pycompat.py", line 14, in reraise raise value File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 664, in dispatch result = self._call_function(**self.params) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 345, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\service\model.py", line 93, in wrapper return f(dbname, *args, **kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 338, in checked_call result = self.endpoint(*a, **kw) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 909, in __call__ return self.method(*args, **kw) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\http.py", line 510, in response_wrap response = f(*args, **kw) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\addons\web\controllers\main.py", line 1319, in call_kw return self._call_kw(model, method, args, kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\addons\web\controllers\main.py", line 1311, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\api.py", line 391, in call_kw result = _call_kw_model(method, model, args, kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\api.py", line 364, in _call_kw_model result = method(recs, *args, **kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\addons\base\models\res_config.py", line 487, in default_get classified = self._get_classified_fields() File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\addons\base\models\res_config.py", line 466, in _get_classified_fields module = IrModule.sudo().search([('name', '=', name[7:])], limit=1) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\models.py", line 1601, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\models.py", line 4369, in _search self._cr.execute(query_str, where_clause_params) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\sql_db.py", line 163, in wrapper return f(self, *args, **kwargs) File "C:\Users\PC GAMER\Documents\Inversiones Global JVR\Odoo\Odoo 13.0\server\odoo\sql_db.py", line 240, in execute res = self._obj.execute(query, params) psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
module does not work.
Installed module, but it does not make any effect. Can login from other devices, and does not logout after mentioned time.
Re: module does not work.
Hi, Thanks for the feedback. looks like like it is not considering the existing session. We will update that soon Regarding the 2nd point, Could you please sent how did you tested the module to odoo@cybrosys.com
Version 15
Good evening
Do you have version 15 of this module???
V14 Enterprise
Can this module be available in Odoo V14 Enterprise?
Re: V14 Enterprise
Currently not available. Please contact on odoo@cybrosys.com if you really need this.
Hi im getting this error while restricting single user for login in odoo14
please help me out
uid = cls._login(db, login, password, user_agent_env=user_agent_env) TypeError: _login() got an unexpected keyword argument 'user_agent_env'
Re:
This is a v13 module. Please use in Odoo v13
Hi im getting this error while restricting single user for login in odoo14.
i'm trying this app
https://apps.odoo.com/apps/modules/13.0/restrict_logins/
please help me out
Hello,
This module is also available for the odoo website app?
I don't want my future clients to login with same ID in different devises at the same time. I do. ot need it for the Odoo DB itselfs but for clients to login in the odoo website app
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
Good afternoon. Does your module work in Odoo14? If not, when will the promise be released?
How to count license in Webkul Odoo SaaS?
Hello,
We are planning to deploy Webkul Odoo SaaS, but how to count Restrict Concurrent User Login license for each instants?
Thanks