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" />