[FIX] rma_sale: show related RMAs without default filters

rma_sale 12.0.1.5.1
This commit is contained in:
Ernesto Tejeda
2020-10-20 11:17:18 -04:00
committed by Alex Vining
parent 748fbd248a
commit f4ca6ec321
2 changed files with 3 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
{ {
"name": "Return Merchandise Authorization Management - Link with Sales", "name": "Return Merchandise Authorization Management - Link with Sales",
"summary": "Sale Order - Return Merchandise Authorization (RMA)", "summary": "Sale Order - Return Merchandise Authorization (RMA)",
"version": "12.0.1.5.0", "version": "12.0.1.5.1",
"development_status": "Beta", "development_status": "Beta",
"category": "RMA", "category": "RMA",
"website": "https://github.com/OCA/rma", "website": "https://github.com/OCA/rma",

View File

@@ -65,6 +65,8 @@ class SaleOrder(models.Model):
) )
else: else:
action['domain'] = [('id', 'in', rma.ids)] action['domain'] = [('id', 'in', rma.ids)]
# reset context to show all related rma without default filters
action['context'] = {}
return action return action
def get_delivery_rma_data(self): def get_delivery_rma_data(self):