mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] printing_auto_base: collect all attachments
This commit is contained in:
@@ -102,7 +102,7 @@ class PrintingAuto(models.Model):
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user