Fix wrong value passed to super call
(transplanted from 1636812276c3fc4e38ad1831aff988feeb704958)
This commit is contained in:
1 parent
7673edf0df
commit
5e3552ae3e
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user