mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[14.0][FIX] rma_sale, fix issue opening rma view from wizard
This commit is contained in:
@@ -75,7 +75,7 @@ class SaleOrderRmaWizard(models.TransientModel):
|
||||
return
|
||||
for rec in rma:
|
||||
rec.action_confirm()
|
||||
action = self.env.ref("rma.rma_action").read()[0]
|
||||
action = self.sudo().env.ref("rma.rma_action").read()[0]
|
||||
if len(rma) > 1:
|
||||
action["domain"] = [("id", "in", rma.ids)]
|
||||
elif rma:
|
||||
|
||||
Reference in New Issue
Block a user