mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] rma_sale: Show directly form on 1 RMA
Fine-tune of 9a25d6, as for one record, the domain is not applied, but the list is shown.
This commit is contained in:
@@ -62,6 +62,7 @@ class SaleOrder(models.Model):
|
||||
action.update(
|
||||
res_id=rma.id,
|
||||
view_mode="form",
|
||||
views=[],
|
||||
)
|
||||
else:
|
||||
action['domain'] = [('id', 'in', rma.ids)]
|
||||
|
||||
Reference in New Issue
Block a user