[FIX] project_planning: correctly forward count parameter for search override
bzr revid: xmo@openerp.com-20120419115203-okiu2buyc9ci1bl4
This commit is contained in:
@@ -233,7 +233,8 @@ class project_task(osv.osv):
|
||||
if context is None:
|
||||
context = {}
|
||||
if not context.get('planning', False):
|
||||
return super(project_task,self).search(cr, user, args, offset, limit, order, context)
|
||||
return super(project_task,self).search(cr, user, args,
|
||||
offset=offset, limit=limit, order=order, context=context, count=count)
|
||||
cr.execute(" SELECT t.id, t.name \
|
||||
from project_task t \
|
||||
join report_account_analytic_planning_line l on (l.id = t.planning_line_id )\
|
||||
|
||||
Reference in New Issue
Block a user