[IMP] auth_signup: res_users form view: buttons with link style
bzr revid: tde@openerp.com-20130524114809-rtgttpmb5obqaqvb
This commit is contained in:
parent
7f5bfb5641
commit
d58925a9c5
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue