From 2e2980a3a67a01bd8d1d787a3b5b1308bdee5fa3 Mon Sep 17 00:00:00 2001 From: David Ramia Date: Tue, 14 May 2024 07:43:34 +0200 Subject: [PATCH] [MIG] agreement: Migration to 17.0 --- agreement/__manifest__.py | 2 +- agreement/views/agreement.xml | 13 +++---------- agreement/views/agreement_type.xml | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/agreement/__manifest__.py b/agreement/__manifest__.py index da9855fb..95a53d12 100644 --- a/agreement/__manifest__.py +++ b/agreement/__manifest__.py @@ -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), " diff --git a/agreement/views/agreement.xml b/agreement/views/agreement.xml index 8dbf4904..cd791768 100644 --- a/agreement/views/agreement.xml +++ b/agreement/views/agreement.xml @@ -15,7 +15,7 @@ name="web_ribbon" title="Archived" bg_color="bg-danger" - attrs="{'invisible': [('active', '=', True)]}" + invisible="active" />
@@ -32,10 +32,7 @@ - + - +
diff --git a/agreement/views/agreement_type.xml b/agreement/views/agreement_type.xml index f6bc3871..ba6d393b 100644 --- a/agreement/views/agreement_type.xml +++ b/agreement/views/agreement_type.xml @@ -23,7 +23,7 @@ name="web_ribbon" title="Archived" bg_color="bg-danger" - attrs="{'invisible': [('active', '=', True)]}" + invisible="active" />