fix: Patch for updating Appointment Reminder method in Scheduled Job Type (#21431)
This commit is contained in:
parent
24b6055d89
commit
7bbe3dd8a0
@ -674,3 +674,4 @@ erpnext.patches.v12_0.repost_stock_ledger_entries_for_target_warehouse
|
|||||||
erpnext.patches.v12_0.update_end_date_and_status_in_email_campaign
|
erpnext.patches.v12_0.update_end_date_and_status_in_email_campaign
|
||||||
erpnext.patches.v13_0.move_tax_slabs_from_payroll_period_to_income_tax_slab #123
|
erpnext.patches.v13_0.move_tax_slabs_from_payroll_period_to_income_tax_slab #123
|
||||||
erpnext.patches.v12_0.fix_quotation_expired_status
|
erpnext.patches.v12_0.fix_quotation_expired_status
|
||||||
|
erpnext.patches.v12_0.update_appointment_reminder_scheduler_entry
|
@ -0,0 +1,7 @@
|
|||||||
|
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)
|
Loading…
x
Reference in New Issue
Block a user