Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2363 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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 Odpovědi Zobrazení Aktivita
0
úno 22
3286
2
kvě 21
2499
1
dub 16
3995
1
čvc 25
556
5
kvě 25
17964