How to override schedular Function | how to overrid birthday reminder function

I want to override the birthday reminder function it’s a Scheduler Event

function file path here:-

frappe-bench/apps/erpnext/erpnext/hr/doctype/employee/employee_reminders.py

Or else
I want to override this html file
file path

frappe-bench/apps/erpnext/erpnext/templates/emails/birthday_reminder.html

I override the template here the proceducer
create the file as it is the file path inthe erpnext or frappe app
core:-

erpnext/erpnext/templates/emails/birthday_reminder.html

overrided:

<custom_app_name>/<custom_app_name>/templates/emails/birthday_reminder.html

Create file structure like that

4 Likes

Is path mention in hooks.py?

no need give the correct path thats enough

1 Like