[FIX] View priority

This commit is contained in:
Maxime Chambreuil
2019-05-14 20:03:00 -05:00
parent 60003a8719
commit af7846d71b

View File

@@ -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)]}"/>