Skip to content

Commit

Permalink
Merge PR #449 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Feb 14, 2025
2 parents f078686 + 5f846e9 commit 8afd61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rma/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def portal_my_rma_picking_report(self, rma_id, picking_id, access_token=None, **
except exceptions.AccessError:
return request.redirect("/my")
report_sudo = request.env.ref("stock.action_report_delivery").sudo()
pdf = report_sudo._render_qweb_pdf([picking_sudo.id])[0]
pdf = report_sudo._render_qweb_pdf(report_sudo, res_ids=picking_sudo.ids)[0]
pdfhttpheaders = [
("Content-Type", "application/pdf"),
("Content-Length", len(pdf)),
Expand Down

0 comments on commit 8afd61f

Please sign in to comment.