fix: run config with force

(cherry picked from commit e8288a2f63)
This commit is contained in:
ravibharathi656
2025-08-26 18:22:49 +05:30
committed by Mergify
parent 1e99ba5932
commit 9d34eb686c
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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}