formatting

This commit is contained in:
Frederik Jaeckel 2024-11-21 14:34:17 +01:00
parent 38295dec35
commit 2dac79debe
4 changed files with 13 additions and 27 deletions

View file

@ -38,10 +38,9 @@ class XReport(Report):
invoice_string = template.render(edoc_versions[data['edocument']])
file_name = slugify('%(date)s-%(descr)s' % {
'date': IrDate.today().isoformat().replace('-', ''),
'descr': invoice.rec_name,
},
max_length=100, word_boundary=True, save_order=True)
'date': IrDate.today().isoformat().replace('-', ''),
'descr': invoice.rec_name},
max_length=100, word_boundary=True, save_order=True)
if data['as_zip'] is True:
return (