diff --git a/trytond/ir/translation.py b/trytond/ir/translation.py index 208ac4e685..65e0e3904f 100644 --- a/trytond/ir/translation.py +++ b/trytond/ir/translation.py @@ -85,7 +85,7 @@ class Translation(ModelSQL, ModelView, Cacheable): cursor.execute('SELECT id FROM "%s" ' 'WHERE split_part(name, \',\', 1) %s %%s' % (self._table, clause[1]), (clause[2],)) - return ('id', 'in', [x[0] for x in cursor.fetchall()]) + return [('id', 'in', [x[0] for x in cursor.fetchall()])] def get_language(self, cursor, user, context): lang_obj = self.pool.get('ir.lang')