Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Is there any option to set time for automatically logout or expire session if no user activity is monitored (say 10 minutes)? If the user forget to logout and keeps signed in will cause issues, because the others can access data.
Does OpenERP have the feature to sign out remotely?
I found solution by modifying code in web/http.py
I updated following with code in the function
def session_context(request, session_store, session_lock, sid):
for key, value in request.session.items(): if not isinstance(value, session.OpenERPSession): continue if getattr(value, '_suicide', False) or ( #not value._uid #and not value.jsonp_requests # FIXME do not use a fixed value and value._creation_time + (10 * 60) < time.time()): _logger.debug('remove session %s', key) removed_sessions.add(key) del request.session[key] else: value._creation_time = time.time()
It expires session automatically in 10 minute if user keeps browser idle.
it seems there is no session timeout since openerp v6.1, see :
but it seems there is a solution, see :
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/21/13, 10:43 AM|
|Seen: 18043 times|
|Last updated: 3/27/15, 6:36 PM|