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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up