[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:
parent
420f82ec0e
commit
0e7569ef31
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue