From 6b29ae7c6ef8b634b2fe33a09d6532ff3c10d92a Mon Sep 17 00:00:00 2001 From: Jacques-Etienne Baudoux Date: Tue, 19 Sep 2023 17:32:10 +0200 Subject: [PATCH] [FIX] printing_auto_base: collect all attachments --- printing_auto_base/models/printing_auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printing_auto_base/models/printing_auto.py b/printing_auto_base/models/printing_auto.py index 7fe3242d19a..0b66a7730a5 100644 --- a/printing_auto_base/models/printing_auto.py +++ b/printing_auto_base/models/printing_auto.py @@ -102,7 +102,7 @@ def _get_content(self, records): if generate_data_func: records = self._get_record(records) for record in records: - content.append(generate_data_func(record)[0]) + content += generate_data_func(record) return content def _prepare_attachment_domain(self, record):