Browse Source

[FIX] missing unicode in format string

fixes #244
pull/246/head
Stéphane Bidoul (ACSONE) 8 years ago
committed by GitHub
parent
commit
06ae71e79f
  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