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