Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce option for sending "reschedule_interview" mails or not #1945

Open
0xD0M1M0 opened this issue Jul 3, 2024 · 2 comments · May be fixed by #1946
Open

Introduce option for sending "reschedule_interview" mails or not #1945

0xD0M1M0 opened this issue Jul 3, 2024 · 2 comments · May be fixed by #1946

Comments

@0xD0M1M0
Copy link

0xD0M1M0 commented Jul 3, 2024

Is your feature request related to a problem? Please describe.

While scheduling an interview with an applicant no e-mail is send, but when a rescheduling of the interview takes place an e-mail is always send even to the interviewee.

Describe the solution you'd like

I would like to choose in the HR options if I want an e-mail of a rescheduled interview to be send or not.

The function:

def reschedule_interview(self, scheduled_on, from_time, to_time):

needs to be extended with something similiar to:
def send_interview_reminder():
reminder_settings = frappe.db.get_value(
"HR Settings",
"HR Settings",
["send_interview_reminder", "interview_reminder_template", "hiring_sender_email"],
as_dict=True,
)
if not cint(reminder_settings.send_interview_reminder):
return

and the option needs to be added to the "hr_settings" similar to:
"send_interview_reminder",

and
{
"default": "0",
"fieldname": "send_interview_reminder",
"fieldtype": "Check",
"label": "Send Interview Reminder"
},

Describe the alternatives you've considered

No response

Additional context

No response

@niraj2477
Copy link
Contributor

How about if we allow setting up the template for notification too?!

@0xD0M1M0
Copy link
Author

0xD0M1M0 commented Jul 4, 2024

Sure, I would like that. I can't do it so and my first concern is that it doesn't send an e-mail at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants