From 4c5e41d40325f5e68e29ef49a139a7469d98cd0b Mon Sep 17 00:00:00 2001 From: giovannigd Date: Tue, 3 Dec 2024 09:34:47 +0100 Subject: [PATCH] [FIX] rma: fix for default_res_id as it is deprecated --- rma/models/rma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rma/models/rma.py b/rma/models/rma.py index 124f2c2ad..c2ce1c20d 100644 --- a/rma/models/rma.py +++ b/rma/models/rma.py @@ -580,7 +580,7 @@ def action_rma_send(self): ctx = { "default_model": "rma", "default_subtype_id": self.env.ref("rma.mt_rma_notification").id, - "default_res_id": self.ids[0], + "default_res_ids": self.ids, "default_use_template": bool(template), "default_template_id": template and template.id or False, "default_composition_mode": "comment",