Browse Source

[FIX] report_xlsx - Minor fix

pull/38/head^2
sebalix 9 years ago
parent
commit
8be07e8d30
  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