Skip to content

Commit

Permalink
[MIG] agreement: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiadavid committed May 14, 2024
1 parent 35b62e4 commit ebb529e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion agreement/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Agreement",
"summary": "Adds an agreement object",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Contract",
"author": "Akretion, "
"Yves Goldberg (Ygol Internetwork), "
Expand Down
13 changes: 3 additions & 10 deletions agreement/views/agreement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
invisible="active"
/>
<field name="active" invisible="1" />
<div class="oe_title">
Expand All @@ -32,10 +32,7 @@
<group name="left">
<field name="code" />
<field name="is_template" invisible="1" />
<field
name="partner_id"
attrs="{'required': [('is_template', '=', False)]}"
/>
<field name="partner_id" required="not is_template" />
<field
name="agreement_type_id"
groups="agreement.group_use_agreement_type"
Expand All @@ -57,11 +54,7 @@
</group>
</group>
<notebook>
<page
name="config"
string="Configuration"
attrs="{'invisible': True}"
/>
<page name="config" string="Configuration" invisible="True" />
</notebook>
</sheet>
<div class="oe_chatter">
Expand Down
2 changes: 1 addition & 1 deletion agreement/views/agreement_type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
invisible="active"
/>
<field name="active" invisible="1" />
<div class="oe_title">
Expand Down

0 comments on commit ebb529e

Please sign in to comment.