Odoo Help

0

Password reveal

By
Luc Bonjean
on 5/19/15, 8:38 AM 799 views

I'm looking for a way to store sensitive data in odoo. eg. vpn key's etc. I would like to use a 'password reveal button' that shows a password for a couple of seconds. The passwords are stored in a field, the fields are in a tree view.
(Yes I know that storing such data is questinable, but imo it is better to do it this way than putting it in an excel file)

I guess this will be some javascript. Can anyone help me with this onse, or give me some clues?

 

0
sakumi30
On 5/21/15, 10:00 PM

Hi, if you lost password, you may check out if http://www.recoverlostpassword.com can help with you.

0
Luc Bonjean
On 5/19/15, 3:12 PM

Thx Ray.

Do you know the way on how to implement this in a butten next to a field in an odoo view?

0
Ray Carnes
On 5/19/15, 1:22 PM

Do it like this:

$('#div').show(0).delay(5000).hide(0);

By passing in numbers to .show() and .hide(), jQuery will take those methods into its internal fx queue (even if the number is zero). Since .delay() only works within a queue, you need that little workaround.

example: http://jsfiddle.net/zceKN/


ANSWER FROM  http://stackoverflow.com/questions/7288669/jquery-div-show-delay5000-hide-doesnt-work 

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/19/15, 8:38 AM
Seen: 799 times
Last updated: 5/21/15, 10:01 PM