Skip to content

Commit

Permalink
[MIG] iot_amqp_oca: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoRomera committed Aug 6, 2024
1 parent 18d805a commit 3e8d13b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion iot_amqp_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions iot_amqp_oca/views/iot_device_output_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
<group
string="AMQP configuration"
name="amqp_config"
attrs="{'invisible': [('communication_system_id', '!=', %(iot_amqp_oca.amqp_system)s)]}"
invisible="communication_system_id != %(iot_amqp_oca.amqp_system)s"
>
<field
name="amqp_host_id"
attrs="{'required': [('communication_system_id', '=', %(iot_amqp_oca.amqp_system)s)]}"
required="communication_system_id == %(iot_amqp_oca.amqp_system)s"
/>
<field
name="amqp_exchange"
attrs="{'required': [('communication_system_id', '=', %(iot_amqp_oca.amqp_system)s)]}"
required="communication_system_id == %(iot_amqp_oca.amqp_system)s"
/>
<field
name="amqp_routing_key"
attrs="{'required': [('communication_system_id', '=', %(iot_amqp_oca.amqp_system)s)]}"
required="communication_system_id == %(iot_amqp_oca.amqp_system)s"
/>
<field name="amqp_payload" />
</group>
Expand All @@ -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"
/>
</xpath>
</field>
Expand Down

0 comments on commit 3e8d13b

Please sign in to comment.