Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2356 Vistas

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
Descartar
Mejor respuesta

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
Descartar
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

Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 22
3269
2
may 21
2490
1
abr 16
3990
1
jul 25
524
5
may 25
17921