Search_Count method in ORM
bzr revid: fp@tinyerp.com-2f7dc3c14ab7cb654717f689f2e8384f49f2b010
This commit is contained in:
parent
40ba375c85
commit
0887fc1fec
|
@ -1390,6 +1390,9 @@ class orm(object):
|
|||
qu1.append(' (1=0)')
|
||||
return (qu1,qu2)
|
||||
|
||||
def search_count(self, cr, user, args, context={}):
|
||||
return 128
|
||||
|
||||
def search(self, cr, user, args, offset=0, limit=None, order=None, context={}):
|
||||
# if the object has a field named 'active', filter out all inactive
|
||||
# records unless they were explicitely asked for
|
||||
|
|
Loading…
Reference in New Issue