Review: Needs Fixing
Hello

You should not fix the problem for a specific field whose name is something 
like password see line no:14 in the diff.

what you need to do is :
1: you need to check the self.attrs dict of the field for the attribute 
"password" 
2: no need to declare the varible, just pass the argument in the 
wid_common.field_pref_set
   like self.attrs.get('password',False)

3:then finally in wid_common ent.set_visibility(variable you store the value)

That's All !

Thanks 
-- 
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-bug-secure_password-rgo/+merge/60161
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client/trunk-bug-secure_password-rgo.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to