[FIX] hr_holiday: add manager as a followers in leave request
bzr revid: hmo@tinyerp.com-20120828111931-fnrpc07v2upp0y8n
This commit is contained in:
parent
6b66df2a1f
commit
3d326bec9b
|
@ -367,8 +367,7 @@ class hr_holidays(osv.osv):
|
|||
def message_get_monitored_follower_fields(self, cr, uid, ids, context=None):
|
||||
""" Add 'user_id' and 'manager' to the monitored fields """
|
||||
res = super(hr_holidays, self).message_get_monitored_follower_fields(cr, uid, ids, context=context)
|
||||
# TODO: add manager
|
||||
return res + ['user_id']
|
||||
return res + ['user_id', 'manager_id', 'manager_id2']
|
||||
|
||||
def create_notificate(self, cr, uid, ids, context=None):
|
||||
for obj in self.browse(cr, uid, ids, context=context):
|
||||
|
|
Loading…
Reference in New Issue