mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] rma: get all partner RMA
This commit is contained in:
@@ -22,4 +22,6 @@ class ResPartner(models.Model):
|
|||||||
action = self.env.ref("rma.action_rma_customer_lines")
|
action = self.env.ref("rma.action_rma_customer_lines")
|
||||||
result = action.sudo().read()[0]
|
result = action.sudo().read()[0]
|
||||||
result["context"] = {"search_default_partner_id": self.id}
|
result["context"] = {"search_default_partner_id": self.id}
|
||||||
|
result["domain"] = []
|
||||||
|
result["display_name"] = "Partner RMAs"
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user