From 092196ba4bae607242be7461201dd275d3f0e511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 15 Jul 2010 18:58:26 +0200 Subject: [PATCH] Fix wrong value passed to super call --- trytond/model/modelsingleton.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trytond/model/modelsingleton.py b/trytond/model/modelsingleton.py index 4e08f11a46..8c53ec5db2 100644 --- a/trytond/model/modelsingleton.py +++ b/trytond/model/modelsingleton.py @@ -84,7 +84,8 @@ class ModelSingleton(ModelStorage): def search(self, cursor, user, domain, offset=0, limit=None, order=None, context=None, count=False): res = super(ModelSingleton, self).search(cursor, user, domain, - offset=0, limit=None, order=None, context=None, count=False) + offset=offset, limit=limit, order=order, context=context, + count=count) if not res: if count: return 1