Files
schuetz3-erpnext/erpnext/patches/v12_0/update_appointment_reminder_scheduler_entry.py
Ankush Menat c07713b860 style: bulk format code with black
v13 port because otherwise backports will result in conflicts always
2022-03-29 17:29:34 +05:30

11 lines
317 B
Python

import frappe
def execute():
job = frappe.db.exists("Scheduled Job Type", "patient_appointment.send_appointment_reminder")
if job:
method = (
"erpnext.healthcare.doctype.patient_appointment.patient_appointment.send_appointment_reminder"
)
frappe.db.set_value("Scheduled Job Type", job, "method", method)