mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] rma_sale: show related RMAs without default filters
rma_sale 12.0.1.5.1
This commit is contained in:
committed by
Alex Vining
parent
748fbd248a
commit
f4ca6ec321
@@ -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",
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user