From ecb05626ecec5c656d349e05a5624c8823491391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 9 Aug 2009 10:30:31 +0200 Subject: [PATCH] Remove wrong order parameter introduced in changeset f8162ed1fce2 --- trytond/model/modelsql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/model/modelsql.py b/trytond/model/modelsql.py index bc365695a3..9e9b90eec0 100644 --- a/trytond/model/modelsql.py +++ b/trytond/model/modelsql.py @@ -1330,7 +1330,7 @@ class ModelSQL(ModelStorage): if hasattr(field, 'search'): arg = [domain.pop(i)] domain.extend(field.search(cursor, user, table, - arg[0][0], arg, order=[], context=context)) + arg[0][0], arg, context=context)) elif field._type == 'one2many': field_obj = self.pool.get(field.model_name)