Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2375 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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?

Awatar
Odrzuć
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

Powiązane posty Odpowiedzi Widoki Czynność
0
lut 22
3307
2
maj 21
2525
1
kwi 16
4011
1
lip 25
613
5
maj 25
18019