Community mailing list archives

Re: Module Contribution - Odoo - Restrict Multiple Sign in for Same User

Yassine TEIMI
- 03/31/2015 10:27:13

Thank you very much for your contribution, 

Is there a same module for version 7 ? 


2015-03-31 15:23 GMT+01:00 Johan Van Hirtum <>:



Van: Ferdinand Gassauer []
Verzonden: dinsdag 31 maart 2015 16:03
Aan: Community
Onderwerp: Re: Module Contribution - Odoo - Restrict Multiple Sign in for Same User


most of our users have 2 or more windows of odoo / openerp open - but most on ONE computer, but signed in multiple times
use cases

  • have to accomplish complex tasks and have to look up something what is not available on the current screen

  • multitasking - during data entry which takes a lot of time, they have to interrupt (save) and do something else.

I am not saying that it is impossible to do this with ONE login, but the way it works now is VERY comfortable.


On 2015-03-31 15:47, Sandesh Rao wrote:

<blockquote cite="" type="cite">
Hello All,

A few of our prospects had raised concerns over the security aspects of odoo mentioning that a user with proper credentials could login from multiple machines / devices at the same time. This, according to them, should not be allowed within the ERP system. If a user has already logged in, the ERP should not allow another login attempt from the same userid, until the user has logged off from his existing session or the lifetime of the user session has expired.

To address this concern we have come up with a module - Restrict Multiple Sign in for Same User. You can find this module here -
We have also uploaded the same to the Odoo app store - . In this, we have kept the user's session lifetime as 2 minutes. If the user session is active (i.e. browser of the user is not closed), the expiry time of the cookie will keep on getting incremented. During this time, if another login attempt happens from a different browser or machine for the same userid, the system would not log in that user.

Hope you find this useful. Your feedback and suggestions are welcome !

Best Regards,

Sandesh Rao

Nevpro Business Solutions(NBS) Pvt. Ltd.
Ph: (+91) 022-66736577 / 78
Skype: sandesh-rao


Post to:


Post to:

Post to:



Yassine TEIMI

Consultant & Chef de Projet
TEL : +212 6-27 33 30 78