跳至內容
選單
此問題已被標幟
1 回覆
4859 瀏覽次數

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

頭像
捨棄