Browse Source

Merge pull request #2 from osiell/9.0-add-base_report_xlsx-ape-amend

[FIX] 9.0 - report_xlsx - Minor fix
pull/38/head
Stéphane Bidoul (ACSONE) 9 years ago
parent
commit
6a8cd1a6df
  1. 2
      report_xlsx/report/report_xlsx.py

2
report_xlsx/report/report_xlsx.py

@ -33,7 +33,7 @@ class ReportXlsx(report_sxw):
self.env.cr, self.env.uid, self.name2, self.env.context) self.env.cr, self.env.uid, self.name2, self.env.context)
objs = self.getObjects( objs = self.getObjects(
self.env.cr, self.env.uid, ids, self.env.context) self.env.cr, self.env.uid, ids, self.env.context)
self.parser_instance.set_context(objs, data, objs.ids, 'xlsx')
self.parser_instance.set_context(objs, data, ids, 'xlsx')
file_data = StringIO() file_data = StringIO()
workbook = xlsxwriter.Workbook(file_data) workbook = xlsxwriter.Workbook(file_data)
self.generate_xlsx_report(workbook, data, objs) self.generate_xlsx_report(workbook, data, objs)

Loading…
Cancel
Save