Skip to Content
Menu
This question has been flagged
1 Reply
2348 Views

Hi!

An applicant in the Recruitment app had the wrong email entered. I changed it to the correct one, but my rejection mail is still sent to the old one. I was able to reproduce this with a test application as well, the email is always sent to the first/original value entered in the email field.

Does anyone know where to change or how to fix this?


Thanks in advance.

Avatar
Discard
Best Answer

Hi,

if the applicant has a record in partners so the email will be taken for partner not from application so you need to go to contacts app and search for the applicant name and change his email there.


what is the field you are using for email_to / partner_to in your template?

Avatar
Discard
Author

Hi again!
the field in the recruitment application is the "email_from" field from the "Applicant" model. I was able to change the email in the contacts app successfully. Is there anyway to make changes in the Recruitment app also apply to the linked Contact?

Thanks a lot!

The below inverse method set the email to contacts but if the contact not have email but if you changed the email and the contact already has email it will updated in contacts.

def _inverse_partner_email(self):
for applicant in self.filtered(lambda a: a.partner_id and a.email_from and not a.partner_id.email):
applicant.partner_id.email = applicant.email_from

Related Posts Replies Views Activity
0
Feb 22
3264
2
May 21
2485
1
Apr 16
3986
1
Jul 25
507
5
May 25
17875