formatting
This commit is contained in:
parent
38295dec35
commit
2dac79debe
4 changed files with 13 additions and 27 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue