Odoo Help


Please explain how to create a session time out for a particular database use of a custom module

on 5/20/14, 2:55 AM 807 views

Hi ,

How to create session time out for a particular database in openerp  ,with   the help of a custom  module .

How to create a custom module






For auto session time out you have to modify the code from web client.

Few changes should be made in .js file of official addons.

You have to modify instance.session.on method in core.js file.

You can set auto_logout method logic in that method.

If you have any doubts feel free to contact us.

How to create a custom module for this using .js file

on 8/8/14, 2:01 AM

instance.session.on('module_loaded', this, function () { // provide timeago.js with our own translator method $.timeago.settings.translator = instance.web._t; }); where i can change i checked this....

on 8/8/14, 2:09 AM

Libu, this should help: http://openerp-web-v7.readthedocs.org/en/latest/module.html

Serpent Consulting Services Pvt. Ltd.
on 8/13/14, 7:43 AM

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

1 follower(s)


Asked: 5/20/14, 2:55 AM
Seen: 807 times
Last updated: 3/16/15, 8:10 AM