Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4805 Prikazi

How can I block multiple sessions for same account in odoo 11 ?

And I also want to expire my odoo session after 10 min inactive.

Avatar
Opusti
Best Answer

Hi, 

To ensure that same user is not logged in multiple device simultaneously, you can have a look at this module, https://www.odoo.com/apps/modules/8.0/single_login/

This is in v8 having a look at the code will give idea about how to achieve same in v11 also.

To make the session expired after 10 minutes of inactivity you can make necessary changes in function named session_gc in the http.py file.


Thanks

Avatar
Opusti