Skip to content

Commit ebb529e

Browse files
committedMay 14, 2024
[MIG] agreement: Migration to 17.0
1 parent 35b62e4 commit ebb529e

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed
 

‎agreement/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"name": "Agreement",
66
"summary": "Adds an agreement object",
7-
"version": "16.0.1.0.0",
7+
"version": "17.0.1.0.0",
88
"category": "Contract",
99
"author": "Akretion, "
1010
"Yves Goldberg (Ygol Internetwork), "

‎agreement/views/agreement.xml

+3-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
name="web_ribbon"
1616
title="Archived"
1717
bg_color="bg-danger"
18-
attrs="{'invisible': [('active', '=', True)]}"
18+
invisible="active"
1919
/>
2020
<field name="active" invisible="1" />
2121
<div class="oe_title">
@@ -32,10 +32,7 @@
3232
<group name="left">
3333
<field name="code" />
3434
<field name="is_template" invisible="1" />
35-
<field
36-
name="partner_id"
37-
attrs="{'required': [('is_template', '=', False)]}"
38-
/>
35+
<field name="partner_id" required="not is_template" />
3936
<field
4037
name="agreement_type_id"
4138
groups="agreement.group_use_agreement_type"
@@ -57,11 +54,7 @@
5754
</group>
5855
</group>
5956
<notebook>
60-
<page
61-
name="config"
62-
string="Configuration"
63-
attrs="{'invisible': True}"
64-
/>
57+
<page name="config" string="Configuration" invisible="True" />
6558
</notebook>
6659
</sheet>
6760
<div class="oe_chatter">

‎agreement/views/agreement_type.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
name="web_ribbon"
2424
title="Archived"
2525
bg_color="bg-danger"
26-
attrs="{'invisible': [('active', '=', True)]}"
26+
invisible="active"
2727
/>
2828
<field name="active" invisible="1" />
2929
<div class="oe_title">

0 commit comments

Comments
 (0)