Ensure clause concatination works with tuple vs list

(transplanted from 7a35590e63065dc2f6dbb1fe31388df9016c91f0)
This commit is contained in:
Cédric Krier committed 2012-08-29 11:20:35 +02:00
1 parent 9c5dbe1f9f
commit b188cb643c
1 file changed
+1 -1
+1 -1
View File
@@ -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()