[FIX] product: pass count argument to super call for search (opw #585031)

bzr revid: mat@openerp.com-20130909140414-7mndwgkbwntgcgnj
This commit is contained in:
Martin Trigaux 2013-09-09 16:04:14 +02:00
commit d241afa6bd
1 changed files with 1 additions and 1 deletions

View File

@ -756,7 +756,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()