Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to limit OpenERP to accept one user account connection ?

on 6/18/14, 6:29 AM 711 views

Hi, I want to limit user connection to be one connection at a time.

Right now it seems that if I log in using admin username, I can log in with the same admin username from another place. As far as I know, OpenERP uses authentication on user interaction, for example, click log in or any button. This means that I can use one username on many location.

I want to limit the user connection. For example, if admin username has been logged in, therefore, I cannot use admin username to pass the log in page from another location once again until the previous admin log in is logged out.

Does anyone experience the solution to this behaviour ? Could you please tell me or any suggestions ?



Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/20/14, 9:44 AM


We have implemented the solution by a simple way, by adding a boolean called Loggedin! It is set to e True when user logs in and set False when user logs out and session is expired.

We shall publish the module once the code is well tested.


Mateus Lopes
On 11/23/14, 9:05 AM

Hello , I am very interested in this, you would have a sample code ? Thank you

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 6/18/14, 6:29 AM
Seen: 711 times
Last updated: 3/16/15, 8:10 AM