Browse Source

Merge pull request #246 from OCA/9.0-mis_builder-fix244-sbi

[FIX] missing unicode in format string
pull/247/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
e966115e3e
  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