[FIX] project_planning: correctly forward count parameter for search override

bzr revid: xmo@openerp.com-20120419115203-okiu2buyc9ci1bl4
This commit is contained in:
Xavier Morel
2012-04-19 13:52:03 +02:00
parent b79c25ccfd
commit d39f8a63ba
+2 -1
View File
@@ -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 )\