[IMP]minor changes in name
bzr revid: sgo@tinyerp.com-20120816084621-s0v4o24o6hlqfrs0
This commit is contained in:
@@ -1122,9 +1122,9 @@ class task(base_stage, osv.osv):
|
||||
task_id = super(task, self).create(cr, uid, vals, context=context)
|
||||
self._store_history(cr, uid, [task_id], context=context)
|
||||
self.create_send_note(cr, uid, [task_id], context=context)
|
||||
task_obj = self.browse(cr, uid, task_id, context=context)
|
||||
if task_obj.project_id:
|
||||
project_follower_ids = [follow.id for follow in task_obj.project_id.message_follower_ids]
|
||||
task_record = self.browse(cr, uid, task_id, context=context)
|
||||
if task_record.project_id:
|
||||
project_follower_ids = [follower.id for follower in task_record.project_id.message_follower_ids]
|
||||
self.message_subscribe(cr, uid, [task_id], project_follower_ids, context=context)
|
||||
return task_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user