Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4829 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează