When using OpenERP on the Web client side, the default cookie validity time is the browser's current job window, so that if you don't close the browser, no matter how long it takes, the current connection is valid. There is a security problem, and if you forget to log out of OpenERP and leave your seat, someone else can continue to work with your permission.
By doing some debugging on the system, you may have the following steps to set a valid time for inactivity.
1. Locate the/addons/web/common/http.py file for editing
2. In class root can find the following syntax, is used to set the front end of the session, the red number is I add, for 10 seconds, you can change as needed:
If hasattr (response, ' Set_cookie '):
Response.set_cookie (Self.session_cookie, session.sid,10)
3. After the modification, the front end as long as re-login. The system will no longer respond to any queries, additions, modifications, deletions, or other operations when idle for more than the specified time.