Skip to content

Commit

Permalink
[FIX] rma: fix for default_res_id as it is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannigd committed Dec 3, 2024
1 parent 91cc739 commit 4c5e41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rma/models/rma.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4c5e41d

Please sign in to comment.