Fix InvoiceReport for new Report.execute result

This commit is contained in:
Cédric Krier committed 2009-06-22 10:47:14 +02:00
1 parent abe6abf256
commit 091e02ef63
1 file changed
+1 -1
+1 -1
View File
@@ -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):