[REMOVE] remove change password button.

bzr revid: nco@tinyerp.com-20121009055223-vflb9wxzo3nvw310
This commit is contained in:
Nimesh (Open ERP) 2012-10-09 11:22:23 +05:30
parent 97329f23bf
commit d9a27d1902
2 changed files with 0 additions and 8 deletions

View File

@ -488,13 +488,6 @@ class res_users(osv.osv):
'tag': 'reload',
}
def preference_change_password(self, cr, uid, ids, context=None):
return {
'type': 'ir.actions.client',
'tag': 'change_password',
'target': 'new',
}
def has_group(self, cr, uid, group_ext_id):
"""Checks whether user belongs to given group.

View File

@ -213,7 +213,6 @@
<field name="signature" readonly="0"/>
</group>
<footer>
<button name="preference_change_password" type="object" string="Change password"/>
<button name="preference_save" type="object" class="oe_highlight" string="Save"/>
or
<button name="preference_cancel" string="Cancel" special="cancel" class="oe_link"/>