You can purchase and install the Idle Logout module (10.00 €), or you can modify line 1363 of .../openerp/http.py, which is currently set to 1 week. You will want 60*30 (60 seconds per minute times 30 minutes).
last_week = time.time() - 60*30
Note: Your users sessions will expire. Much like timeouts when purchasing things online, your users' unsaved form data will be lost.
This was previously covered in the forum
It seems this should be made an adjustable feature company wide, or at least a freely available OCA module. Writing to the http.py file directly is not advisable, as it does not port or upgrade well.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/12/15, 5:26 AM|
|Seen: 580 times|
|Last updated: 5/14/16, 7:00 AM|