'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.
<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"/>