From ec35590ca46c5f6a7066db2fd5232317c8ca570f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 8 Aug 2013 02:33:53 +0200 Subject: [PATCH] Fix domain concatenation between list and tuple (transplanted from 65f66a0e4f28f7d36e696387f999eb97ee6a3723) --- uom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uom.py b/uom.py index 9d6d957ff4..358dce0faa 100644 --- a/uom.py +++ b/uom.py @@ -127,8 +127,8 @@ class Uom(ModelSQL, ModelView): def search_rec_name(self, name, clause): ids = self.search(['OR', - (self._rec_name,) + clause[1:], - ('symbol',) + clause[1:], + (self._rec_name,) + tuple(clause[1:]), + ('symbol',) + tuple(clause[1:]), ], order=[]) return [('id', 'in', ids)]