[fix] project members full for kanban
bzr revid: fp@tinyerp.com-20111113131533-frs0o44ag1r575xu
This commit is contained in:
parent
e25fe1f261
commit
9115fcdea2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue