Fix typo for issue946
This commit is contained in:
1 parent
c67465e6c5
commit
d3728af7d9
1 file changed
+1
-1
+1
-1
@@ -573,7 +573,7 @@ class Purchase(ModelWorkflow, ModelSQL, ModelView):
|
||||
def search_rec_name(self, cursor, user, name, args, context=None):
|
||||
args2 = []
|
||||
i = 0
|
||||
while i < lend(args):
|
||||
while i < len(args):
|
||||
names = args[i][2].split(' - ', 1)
|
||||
ids = self.search(cursor, user, ['OR',
|
||||
('reference', args[i][1], names[0]),
|
||||
|
||||
Reference in new issue
Block a user