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"
/>
@@ -61,21 +61,21 @@
name="action_rma_approve"
type="object"
string="Back to Approved"
- attrs="{'invisible':[('state', '!=', 'done')]}"
+ invisible="state != 'done'"
groups="rma.group_rma_customer_user"
/>