|
|
@ -22,8 +22,9 @@ |
|
|
|
<record model="ir.ui.view" id="partner_agreement_form_view"> |
|
|
|
<field name="name">Agreement Form</field> |
|
|
|
<field name="model">agreement</field> |
|
|
|
<field name="priority" eval="1"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<form string="Agreements Form"> |
|
|
|
<form string="Agreement"> |
|
|
|
<header> |
|
|
|
<button string="New Version" type="object" name="create_new_version" class="oe_highlight" attrs="{'invisible': [('state', '=', 'active')]}"/> |
|
|
|
<button string="New Agreement" type="object" name="create_new_agreement" class="oe_highlight" attrs="{'invisible': [('is_template', '=', False)]}"/> |
|
|
|