Odoo Help

Welcome!

This community 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.

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 632 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

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 7/29/14, 9:33 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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