Browse Source

[FIX] View priority

pull/330/head
Maxime Chambreuil 6 years ago
parent
commit
af7846d71b
  1. 3
      agreement_legal/views/agreement.xml

3
agreement_legal/views/agreement.xml

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

Loading…
Cancel
Save