commit | 73134d57bf38be2271514431461da781d89fa821 | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Mon May 08 16:42:12 2023 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Mon May 08 16:42:12 2023 +0530 |
tree | f1b4b4af2d7cbeb1a9d34a5ab5e1b504503a169f | |
parent | ecc80a8504d5b7b70a2a052f8cce685cbefe8afb [diff] |
chore: convert throw to msgprint
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 ecb51ce..3166030 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 @@ 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") )