Browse Source

Merge pull request #330 from ursais/12.0-fix-327

[FIX] agreement_legal: View priority (#327)
pull/333/head
Maxime Chambreuil 6 years ago
committed by GitHub
parent
commit
5aec1086d2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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">
<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)]}"/>

Loading…
Cancel
Save