[FIX] product: pass count argument to super call for search (opw #585031)
bzr revid: mat@openerp.com-20130909140414-7mndwgkbwntgcgnj
This commit is contained in:
commit
d241afa6bd
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue