Odoo Help

0

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

By
Odoo
on 5/20/14, 2:55 AM 786 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

 

 

 

0

Hello,

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

Odoo
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....

Odoo
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.

Register

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)

Stats

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