From 3e8d13b3a7dcdf738f43ad6d45e13e4036997a3a Mon Sep 17 00:00:00 2001 From: FernandoRomera Date: Tue, 6 Aug 2024 11:44:46 +0200 Subject: [PATCH] [MIG] iot_amqp_oca: Migration to 17.0 --- iot_amqp_oca/__manifest__.py | 2 +- iot_amqp_oca/views/iot_device_output_views.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/iot_amqp_oca/__manifest__.py b/iot_amqp_oca/__manifest__.py index a94c744f..1aad3e1e 100644 --- a/iot_amqp_oca/__manifest__.py +++ b/iot_amqp_oca/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "IoT AMQP", - "version": "15.0.1.0.0", + "version": "17.0.1.0.0", "category": "IoT", "author": "Creu Blanca, Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/iot_amqp_oca/views/iot_device_output_views.xml b/iot_amqp_oca/views/iot_device_output_views.xml index 11d5dcf5..4a6eeac8 100644 --- a/iot_amqp_oca/views/iot_device_output_views.xml +++ b/iot_amqp_oca/views/iot_device_output_views.xml @@ -12,19 +12,19 @@ @@ -36,7 +36,7 @@ context="{'iot_system_action_id': %(iot_amqp_oca.amqp_action)s}" icon="fa-cogs" string="Run" - attrs="{'invisible': [('communication_system_id', '!=', %(iot_amqp_oca.amqp_system)s)]}" + invisible="communication_system_id != %(iot_amqp_oca.amqp_system)s" />