[REMOVE] remove change password button.
authorNimesh (Open ERP) <nco@tinyerp.com>
Tue, 9 Oct 2012 05:52:23 +0000 (11:22 +0530)
committerNimesh (Open ERP) <nco@tinyerp.com>
Tue, 9 Oct 2012 05:52:23 +0000 (11:22 +0530)
bzr revid: nco@tinyerp.com-20121009055223-vflb9wxzo3nvw310

openerp/addons/base/res/res_users.py
openerp/addons/base/res/res_users_view.xml

index 8bd5c3a..59c60b2 100644 (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.
 
index f09866b..7c4988b 100644 (file)
                         <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"/>