From 7b8ec4da7a8c4112e4ba1955dfcd8d5532656679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 28 Nov 2008 00:23:20 +0100 Subject: [PATCH] Fix missing initialisation of variable ids in name_search of invoice --- invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/invoice.py b/invoice.py index 8a7d97ed1e..4f4a427861 100644 --- a/invoice.py +++ b/invoice.py @@ -952,6 +952,7 @@ class Invoice(OSV): context=None, limit=None): if args is None: args = [] + ids = [] if name: ids = self.search(cursor, user, [('number', operator, name)] + args, limit=limit, context=context)