[REMOVE] remove change password button.
bzr revid: nco@tinyerp.com-20121009055223-vflb9wxzo3nvw310
This commit is contained in:
parent
97329f23bf
commit
d9a27d1902
|
@ -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.
|
||||
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue