I want to make odoo-8 log out if no activity perform by user for some time. How can i do this?.
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
This question has been flagged
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.
https://www.odoo.com/forum/help-1/question/how-to-implement-automatically-signout-in-odoo-8-or-openerp-7-human-resource-module-if-the-pc-is-idle-or-sleep-condition-68076
This is the easiest solution, however I tested it and it works but quiet often i was getting some errors.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up