[FIX] product: the search method now passes the count argument correctly in the super call

bzr revid: cbi@openerp.com-20130305083513-xcyg1uyal53q914h
This commit is contained in:
Chris Biersbach 2013-03-05 09:35:13 +01:00
parent 420f82ec0e
commit 0e7569ef31
1 changed files with 1 additions and 1 deletions

View File

@ -748,7 +748,7 @@ class product_product(osv.osv):
context = {}
if context and context.get('search_default_categ_id', False):
args.append((('categ_id', 'child_of', context['search_default_categ_id'])))
return super(product_product, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False)
return super(product_product, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=count)
product_product()