[MERGE] OPW 576295: ir_attachment: fix regression/typo introduced in r.4069
count is explicitly set to False in order to filter the results coming from upstream before doing the actual count bzr revid: odo@openerp.com-20120816154020-5s6wbwfb5l2xsnyv
This commit is contained in:
@@ -57,7 +57,7 @@ class ir_attachment(osv.osv):
|
||||
def _search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False, access_rights_uid=None):
|
||||
ids = super(ir_attachment, self)._search(cr, uid, args, offset=offset,
|
||||
limit=limit, order=order,
|
||||
context=context, count=count,
|
||||
context=context, count=False,
|
||||
access_rights_uid=access_rights_uid)
|
||||
if not ids:
|
||||
if count:
|
||||
|
||||
Reference in New Issue
Block a user