From 6e6330915f86e034f82932594112589d227367bc Mon Sep 17 00:00:00 2001 From: sebalix Date: Wed, 13 Apr 2016 16:05:14 +0200 Subject: [PATCH] [FIX] report_xlsx - Minor fix --- report_xlsx/report/report_xlsx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_xlsx/report/report_xlsx.py b/report_xlsx/report/report_xlsx.py index aab372b4..285c97b5 100644 --- a/report_xlsx/report/report_xlsx.py +++ b/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) objs = self.getObjects( 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() workbook = xlsxwriter.Workbook(file_data) self.generate_xlsx_report(workbook, data, objs)