[fix] project members full for kanban

bzr revid: fp@tinyerp.com-20111113131533-frs0o44ag1r575xu
This commit is contained in:
Fabien Pinckaers 2011-11-13 14:15:33 +01:00
parent e25fe1f261
commit 9115fcdea2
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ class task(osv.osv):
context = context or {}
if type(context.get('project_id', None)) not in (int, long):
return None
proj = self.browse(cr, uid, context['project_id'], context=context)
proj = self.pool.get('project.project').browse(cr, uid, context['project_id'], context=context)
ids += map(lambda x: x.id, proj.members)
stage_obj = self.pool.get('res.users')
stage_ids = stage_obj.search(cr, uid, [('id','in',ids)], context=context)