Skip to Content
Menu
This question has been flagged
3 Replies
6073 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?

 

Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

Thx Ray.

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

Avatar
Discard
Best Answer

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 

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 24
99
2
Nov 24
78
1
Oct 24
251
0
Oct 24
115
0
Sep 24
205