mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
FIX bad field used for labeling at print
This commit is contained in:
committed by
John Herholz
parent
c97706d549
commit
fb725207aa
@@ -27,7 +27,7 @@ class PrintAttachment(models.TransientModel):
|
||||
errors = []
|
||||
for att_line in self.attachment_line_ids:
|
||||
data = att_line.attachment_id.datas
|
||||
title = att_line.attachment_id.store_fname
|
||||
title = att_line.attachment_id.name
|
||||
if not data:
|
||||
errors.append(att_line)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user