[IMP] Project manager is added in subscribers.
bzr revid: bth@tinyerp.com-20120321055549-f0ng25r5k97ekblc
This commit is contained in:
@@ -1037,8 +1037,11 @@ class task(osv.osv):
|
||||
for obj in self.browse(cr, uid, ids, context=context):
|
||||
if obj.user_id:
|
||||
sub_ids.append(obj.user_id.id)
|
||||
if obj.manager_id:
|
||||
sub_ids.append(obj.manager_id.id)
|
||||
return self.pool.get('res.users').read(cr, uid, sub_ids, context=context)
|
||||
|
||||
|
||||
def create(self, cr, uid, vals, context=None):
|
||||
result = super(task, self).create(cr, uid, vals, context=context)
|
||||
self._store_history(cr, uid, [result], context=context)
|
||||
|
||||
Reference in New Issue
Block a user