From ef2b93dcaafc20858760c3068528f4e7ec834436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Mon, 22 Dec 2014 17:27:45 +0100 Subject: [PATCH] Fix use of None instead Null in changeset 51e5f7fb547b --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index 7f23fe8e7b..23009baa0e 100644 --- a/invoice.py +++ b/invoice.py @@ -1532,7 +1532,7 @@ class InvoiceLine(ModelSQL, ModelView, TaxableMixin): cursor.execute(*sql_table.join(invoice, condition=sql_table.invoice == invoice.id ).select(sql_table.id, invoice.company, - where=sql_table.company == None)) + where=sql_table.company == Null)) for line_id, company_id in cursor.fetchall(): cursor.execute(*sql_table.update([sql_table.company], [company_id], where=sql_table.id == line_id))