diff --git a/rma_sale/models/rma_order_line.py b/rma_sale/models/rma_order_line.py
index a525b093..eaa02830 100644
--- a/rma_sale/models/rma_order_line.py
+++ b/rma_sale/models/rma_order_line.py
@@ -200,6 +200,13 @@ class RmaOrderLine(models.Model):
result["domain"] = [("id", "in", order_ids)]
return result
+ def action_view_origin_sale_order(self):
+ action = self.env.ref("sale.action_orders_salesteams")
+ result = action.sudo().read()[0]
+ order_ids = self.sale_id.ids
+ result["domain"] = [("id", "in", order_ids)]
+ return result
+
def _get_rma_sold_qty(self):
self.ensure_one()
qty = 0.0
diff --git a/rma_sale/views/rma_order_line_view.xml b/rma_sale/views/rma_order_line_view.xml
index f9fe62d7..2a8b36df 100644
--- a/rma_sale/views/rma_order_line_view.xml
+++ b/rma_sale/views/rma_order_line_view.xml
@@ -7,11 +7,21 @@
+
+
-
-
-