Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2358 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
0
Feb 22
3274
2
Mei 21
2494
1
Apr 16
3991
1
Jul 25
540
5
Mei 25
17939