From 091e02ef63579ea36b8048e8cd3745b54f41059b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 22 Jun 2009 10:47:14 +0200 Subject: [PATCH] Fix InvoiceReport for new Report.execute result --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index 3d82819cbc..27351ebeba 100644 --- a/invoice.py +++ b/invoice.py @@ -2082,7 +2082,7 @@ class InvoiceReport(Report): res = super(InvoiceReport, self).execute(cursor, user, ids, datas, context=context) if len(ids) > 1 or datas['id'] != ids[0]: - res = (res[0], res[1], True) + res = (res[0], res[1], True, res[3]) return res def _get_objects(self, cursor, user_id, ids, model, datas, context):