跳至内容
菜单
此问题已终结
1 回复
4839 查看

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

形象
丢弃