Fix test on to_recreate in invoice exception handling

This commit is contained in:
Cédric Krier committed 2012-10-11 17:54:17 +02:00
1 parent 81a0dbc4b1
commit ce9aa1fc44
1 file changed
+1 -1
+1 -1
View File
@@ -1938,7 +1938,7 @@ class HandleInvoiceException(Wizard):
for invoice in purchase.invoices:
if invoice not in domain_invoices or invoice in skip:
continue
if invoice.id in to_recreate:
if invoice in to_recreate:
invoices_recreated.append(invoice.id)
else:
invoices_ignored.append(invoice.id)