Odoo Help


How can i make odoo-8 automatic log out, if no activity perform by user for some time?

on 3/6/15, 10:47 PM 2,640 views

I want to make odoo-8 log out  if no activity perform by user for some time. How can i do this?.

Dr Obx
On 3/20/15, 6:16 PM

This is the easiest solution, however I tested it and it works but quiet often i was getting some errors.

On 3/20/15, 6:11 PM

I think you need to see this.

You should modify file ../addons/web/http.py at line 450 (last_week = time.time() - 60*60*24*7), and replace 60*60*24*24*7 by the value you want (Idle Time = Timeout - in seconds ) (e.g for 15 minutes = 60*15, for one day = 60*60*24, for 2 days = 60*60*24*2 ...). And restart the server if needed.


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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 3/6/15, 10:47 PM
Seen: 2640 times
Last updated: 8/25/17, 1:51 AM