Browse Source

[FIX] missing unicode in format string

fixes #244
pull/272/head
Stéphane Bidoul (ACSONE) 8 years ago
parent
commit
1f79fdc32e
No known key found for this signature in database GPG Key ID: 866D394B4986F82D
  1. 2
      mis_builder/report/mis_report_instance_xlsx.py

2
mis_builder/report/mis_report_instance_xlsx.py

@ -42,7 +42,7 @@ class MisBuilderXlsx(ReportXlsx):
style_obj = self.env['mis.report.style'] style_obj = self.env['mis.report.style']
# create worksheet # create worksheet
report_name = '{} - {}'.format(
report_name = u'{} - {}'.format(
objects[0].name, objects[0].company_id.name) objects[0].name, objects[0].company_id.name)
sheet = workbook.add_worksheet(report_name[:31]) sheet = workbook.add_worksheet(report_name[:31])
row_pos = 0 row_pos = 0

Loading…
Cancel
Save