Fix search_rec_name to return well-formed domain.
This commit is contained in:
1 parent
a1bf3d1303
commit
3b759b482e
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ class Product(ModelSQL, ModelView):
|
||||
ids += self.search(cursor, user, [('name',) + clause[1:]],
|
||||
order=[], context=context)
|
||||
return [('id', 'in', ids)]
|
||||
return [('name',) + clause]
|
||||
return [('name',) + clause[1:]]
|
||||
|
||||
def delete(self, cursor, user, ids, context=None):
|
||||
template_obj = self.pool.get('product.template')
|
||||
|
||||
Reference in new issue
Block a user