diff --git a/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py b/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py index 3442eed03..c4fae3b1a 100644 --- a/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py +++ b/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py @@ -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" @@ -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,