Ensure clause concatination works with tuple vs list
(transplanted from 7a35590e63065dc2f6dbb1fe31388df9016c91f0)
This commit is contained in:
1 parent
9c5dbe1f9f
commit
b188cb643c
1 file changed
+1
-1
+1
-1
@@ -72,6 +72,6 @@ class ProductBom(ModelSQL, ModelView):
|
||||
return result
|
||||
|
||||
def search_rec_name(self, name, clause):
|
||||
return [('bom.rec_name',) + clause[1:]]
|
||||
return [('bom.rec_name',) + tuple(clause[1:])]
|
||||
|
||||
ProductBom()
|
||||
Reference in new issue
Block a user