Use the same operator when searching for code in search_rec_name for issue1266
This commit is contained in:
1 parent
0515c8e977
commit
73fb756f3e
1 file changed
+1
-1
@@ -169,7 +169,7 @@ class Party(ModelSQL, ModelView):
|
||||
args2 = []
|
||||
i = 0
|
||||
while i < len(args):
|
||||
ids = self.search(cursor, user, [('code', '=', args[i][2])],
|
||||
ids = self.search(cursor, user, [('code', args[i][1], args[i][2])],
|
||||
context=context)
|
||||
if ids:
|
||||
args2.append(('id', 'in', ids))
|
||||
|
||||
Reference in new issue
Block a user