diff --git a/rma/views/rma_order_line_view.xml b/rma/views/rma_order_line_view.xml
index 6a7b9fe3..85c4b96b 100644
--- a/rma/views/rma_order_line_view.xml
+++ b/rma/views/rma_order_line_view.xml
@@ -48,242 +48,6 @@
-
- rma.order.line.supplier.form
- rma.order.line
-
-
-
-
-
rma.order.line.form
rma.order.line
@@ -303,7 +67,6 @@
type="object"
string="Back to Draft"
attrs="{'invisible':[('state', '=', 'draft')]}"
- class="oe_highlight"
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
/>
-
+
-
+
+
+
+
+
+
+
@@ -408,6 +177,7 @@
groups="stock.group_production_lot"
attrs="{'required': [('product_tracking', 'in', ('serial', 'lot'))]}"
/>
+
@@ -437,44 +207,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -489,13 +222,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -510,8 +288,8 @@
string="Company"
groups="base.group_multi_company"
>
-
-
+
+
@@ -527,6 +305,40 @@
+
+ rma.order.line.supplier.form
+ rma.order.line
+
+ primary
+
+
+ Customer RMA
+
+
+ Supplier
+ {'res_partner_search_mode': 'supplier'}
+
+
+ 1
+
+
+ [('picking_id.partner_id', '=', partner_id),
+ ('location_id.usage', '=', 'supplier'),
+ ('state', '=', 'done')]
+
+
+ [('type','=','supplier')]
+
+
+
+
rma.order.line.select
rma.order.line
diff --git a/rma/wizards/rma_make_picking_view.xml b/rma/wizards/rma_make_picking_view.xml
index bf488bbb..6e1d094f 100644
--- a/rma/wizards/rma_make_picking_view.xml
+++ b/rma/wizards/rma_make_picking_view.xml
@@ -106,40 +106,28 @@
-
-
-
-
- rma.order.line.supplier.form
- rma.order.line
-
-
-
diff --git a/rma/wizards/rma_order_line_make_supplier_rma_view.xml b/rma/wizards/rma_order_line_make_supplier_rma_view.xml
index f862c775..99a83aa2 100644
--- a/rma/wizards/rma_order_line_make_supplier_rma_view.xml
+++ b/rma/wizards/rma_order_line_make_supplier_rma_view.xml
@@ -67,9 +67,8 @@