[FIX] Reading a record which is having a reference attachment in ir.attachment model, throws traceback in GTK-Client: (Maintenance Case : 576295)
bzr revid: rgo@tinyerp.com-20120627085709-prq3w6zlesr952ld
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