[IMP]all followers of the task project are automatically followers of the task
bzr revid: sgo@tinyerp.com-20120813110746-wqivckynrcqnf7y6
This commit is contained in:
@@ -1209,6 +1209,9 @@ class task(base_stage, osv.osv):
|
||||
user_ids.append(obj.user_id.id)
|
||||
if obj.manager_id and not obj.manager_id.id in user_ids:
|
||||
user_ids.append(obj.manager_id.id)
|
||||
if obj.project_id.followers:
|
||||
for follower in obj.project_id.followers:
|
||||
user_ids.append(follower.id)
|
||||
return user_ids
|
||||
|
||||
def stage_set_send_note(self, cr, uid, ids, stage_id, context=None):
|
||||
|
||||
Reference in New Issue
Block a user