Fix invoice logos with transparency

This commit is contained in:
Raphael Michel
2017-02-17 09:51:06 +01:00
parent 7c687ee397
commit 3636bbbf3f

View File

@@ -261,7 +261,8 @@ def _invoice_generate_german(invoice, f):
canvas.drawImage(ImageReader(logo_file),
95 * mm, (297 - 38) * mm,
width=25 * mm, height=25 * mm,
preserveAspectRatio=True, anchor='n')
preserveAspectRatio=True, anchor='n',
mask='auto')
if invoice.event.settings.show_date_to:
p_str = (