[IMP] auth_signup: res_users form view: buttons with link style

bzr revid: tde@openerp.com-20130524114809-rtgttpmb5obqaqvb
This commit is contained in:
Thibault Delavallée 2013-05-24 13:48:09 +02:00
parent 7f5bfb5641
commit d58925a9c5
1 changed files with 2 additions and 0 deletions

View File

@ -31,9 +31,11 @@
<!-- add Reset Password button -->
<xpath expr="//div[@class='oe_right oe_button_box']//button" position="replace">
<button string="Send Reset Password Instructions"
class="oe_link"
type="object" name="action_reset_password"
attrs="{'invisible': [('state', '!=', 'active')]}"/>
<button string="Send an Invitation Email"
class="oe_link"
type="object" name="action_reset_password" context="{'create_user': 1}"
attrs="{'invisible': [('state', '!=', 'new')]}"/>
</xpath>