diff --git a/erpnext/patches.txt b/erpnext/patches.txt index ae52e1e3a09..fd3dc3ad3cd 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -390,7 +390,7 @@ erpnext.patches.v15_0.enable_allow_existing_serial_no erpnext.patches.v15_0.update_cc_in_process_statement_of_accounts erpnext.patches.v15_0.update_asset_status_to_work_in_progress erpnext.patches.v15_0.rename_manufacturing_settings_field -erpnext.patches.v15_0.sync_auto_reconcile_config +erpnext.patches.v15_0.sync_auto_reconcile_config #2025-08-26 execute:frappe.db.set_single_value("Accounts Settings", "exchange_gain_loss_posting_date", "Payment") erpnext.patches.v14_0.disable_add_row_in_gross_profit erpnext.patches.v15_0.set_difference_amount_in_asset_value_adjustment diff --git a/erpnext/patches/v15_0/sync_auto_reconcile_config.py b/erpnext/patches/v15_0/sync_auto_reconcile_config.py index be92ad99536..f7ece3ca43e 100644 --- a/erpnext/patches/v15_0/sync_auto_reconcile_config.py +++ b/erpnext/patches/v15_0/sync_auto_reconcile_config.py @@ -11,7 +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"): + if frappe.reload_doc("core", "doctype", "scheduler_event", force=True): 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}