From b3099bbd4bf22ec7c8e724fb85dd9f97e9df3df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Vall=C3=A9s=20Fuster?= Date: Wed, 17 Apr 2024 13:07:19 +0200 Subject: [PATCH] [MIG] rma: Migration to 17.0 --- rma/views/rma_order_view.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rma/views/rma_order_view.xml b/rma/views/rma_order_view.xml index 91cd184b..d91a7a09 100644 --- a/rma/views/rma_order_view.xml +++ b/rma/views/rma_order_view.xml @@ -38,7 +38,7 @@ name="action_rma_to_approve" type="object" string="Request Approval" - attrs="{'invisible':[('state', '!=', 'draft')]}" + invisible="state != 'draft'" class="oe_highlight" groups="rma.group_rma_customer_user" /> @@ -46,14 +46,14 @@ name="action_rma_draft" type="object" string="Back to Draft" - attrs="{'invisible':[('state', '=', 'draft')]}" + invisible="state == 'draft'" groups="rma.group_rma_customer_user,rma.group_rma_supplier_user" />