From 73134d57bf38be2271514431461da781d89fa821 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Mon, 8 May 2023 16:42:12 +0530 Subject: [PATCH] chore: convert throw to msgprint --- .../process_payment_reconciliation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py b/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py index ecb51ce144..31660306db 100644 --- a/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py +++ b/erpnext/accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py @@ -164,7 +164,7 @@ def trigger_reconciliation_for_queued_docs(): Fetch queued docs and start reconciliation process for each one """ if not frappe.db.get_single_value("Accounts Settings", "auto_reconcile_payments"): - frappe.throw( + frappe.msgprint( _("Auto Reconciliation of Payments has been disabled. Enable it through {0}").format( get_link_to_form("Accounts Settings", "Accounts Settings") )