[FIX] hr_recruitment: typo in message_get_reply_to
This commit is contained in:
@@ -432,7 +432,7 @@ class hr_applicant(osv.Model):
|
||||
""" Override to get the reply_to of the parent project. """
|
||||
applicants = self.browse(cr, SUPERUSER_ID, ids, context=context)
|
||||
job_ids = set([applicant.job_id.id for applicant in applicants if applicant.job_id])
|
||||
aliases = self.pool['project.project'].message_get_reply_to(cr, uid, list(job_ids), default=default, context=context)
|
||||
aliases = self.pool['hr.job'].message_get_reply_to(cr, uid, list(job_ids), default=default, context=context)
|
||||
return dict((applicant.id, aliases.get(applicant.job_id and applicant.job_id.id or 0, False)) for applicant in applicants)
|
||||
|
||||
def message_get_suggested_recipients(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user