Browse Source

[FIX] report_xlsx - Minor fix

pull/171/head
sebalix 9 years ago
committed by Enric Tobella
parent
commit
6e6330915f
No known key found for this signature in database GPG Key ID: 1A2546A1B7BA2451
  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