Fix missing initialisation of variable ids in name_search of invoice

This commit is contained in:
Cédric Krier committed 2008-11-28 00:23:20 +01:00
1 parent 46a2d3c3d8
commit 7b8ec4da7a
1 file changed
+1
+1
View File
@@ -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)