Fix missing initialisation of variable ids in name_search of invoice
This commit is contained in:
1 parent
46a2d3c3d8
commit
7b8ec4da7a
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user