Skip to content

Commit

Permalink
Merge PR #582 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by alexis-via
  • Loading branch information
OCA-git-bot committed Nov 22, 2024
2 parents 9507dbf + 0855d7a commit 1d6e594
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@ def print_ca3(self):
if not self.ca3_attachment_id:
self.generate_ca3_attachment()
action = {
"name": "FEC",
"name": "CA3",
"type": "ir.actions.act_url",
"url": "web/content/?model=%s&id=%d&filename_field=ca3_attachment_name&"
"field=ca3_attachment_datas&download=true&filename=%s"
Expand Down Expand Up @@ -2318,7 +2318,7 @@ def generate_ca3_attachment(self):
ca3_writer.write(out_ca3_io)
out_ca3_bytes = out_ca3_io.getvalue()

filename = "CA3_%s.pdf" % self.display_name
filename = "CA3_%s.pdf" % self.name
attach = self.env["ir.attachment"].create(
{
"name": filename,
Expand Down

0 comments on commit 1d6e594

Please sign in to comment.