diff --git a/printing_auto_base/models/printing_auto.py b/printing_auto_base/models/printing_auto.py index d5c7bd5cc4f..fe1d13ac9c2 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):