[FIX] message_get_subscribers: fixed copy and paste error.
bzr revid: tde@openerp.com-20120605124252-msp8r5xvufrkdm5i
This commit is contained in:
parent
0f3a6c82e9
commit
c23ae586ab
|
@ -373,7 +373,7 @@ class hr_holidays(osv.osv):
|
|||
|
||||
def message_get_subscribers(self, cr, uid, ids, context=None):
|
||||
""" Override to add employee and its manager. """
|
||||
user_ids = super(project_issue, self).message_get_subscribers(cr, uid, ids, context=context)
|
||||
user_ids = super(hr_holidays, self).message_get_subscribers(cr, uid, ids, context=context)
|
||||
for obj in self.browse(cr, uid, ids, context=context):
|
||||
if obj.user_id and not obj.user_id.id in user_ids:
|
||||
user_ids.append(obj.user_id.id)
|
||||
|
|
|
@ -500,7 +500,7 @@ class hr_applicant(base_stage, osv.Model):
|
|||
|
||||
def message_get_subscribers(self, cr, uid, ids, context=None):
|
||||
""" Override to add responsible user. """
|
||||
user_ids = super(project_issue, self).message_get_subscribers(cr, uid, ids, context=context)
|
||||
user_ids = super(hr_applicant, self).message_get_subscribers(cr, uid, ids, context=context)
|
||||
for obj in self.browse(cr, uid, ids, context=context):
|
||||
if obj.user_id and not obj.user_id.id in user_ids:
|
||||
user_ids.append(obj.user_id.id)
|
||||
|
|
Loading…
Reference in New Issue