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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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)]}"/> |
|
|
|