From b188cb643ccc27401de93ca01112b566ae301280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 29 Aug 2012 11:20:35 +0200 Subject: [PATCH] Ensure clause concatination works with tuple vs list (transplanted from 7a35590e63065dc2f6dbb1fe31388df9016c91f0) --- product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product.py b/product.py index c3203d2793..c3d81ff7e8 100644 --- a/product.py +++ b/product.py @@ -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()