formatting
This commit is contained in:
parent
0b2bada596
commit
08b8768dd4
4 changed files with 11 additions and 22 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