Merge pull request #45842 from frappe/mergify/bp/version-15-hotfix/pr-45832

fix: possible model sync issue (backport #45832)
This commit is contained in:
ruthra kumar
2025-02-11 10:20:21 +05:30
committed by GitHub

View File

@@ -11,6 +11,7 @@ def execute():
frappe.db.set_single_value("Accounts Settings", "reconciliation_queue_size", 5)
# Create Scheduler Event record if it doesn't exist
if frappe.reload_doc("core", "doctype", "scheduler_event"):
method = "erpnext.accounts.doctype.process_payment_reconciliation.process_payment_reconciliation.trigger_reconciliation_for_queued_docs"
if not frappe.db.get_all(
"Scheduler Event", {"scheduled_against": "Process Payment Reconciliation", "method": method}