mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
Merge pull request #35214 from frappe/mergify/bp/version-14-hotfix/pr-35212
chore: convert throw to msgprint in payment reconciliation job hook (backport #35212)
This commit is contained in:
@@ -164,7 +164,7 @@ def trigger_reconciliation_for_queued_docs():
|
|||||||
Fetch queued docs and start reconciliation process for each one
|
Fetch queued docs and start reconciliation process for each one
|
||||||
"""
|
"""
|
||||||
if not frappe.db.get_single_value("Accounts Settings", "auto_reconcile_payments"):
|
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(
|
_("Auto Reconciliation of Payments has been disabled. Enable it through {0}").format(
|
||||||
get_link_to_form("Accounts Settings", "Accounts Settings")
|
get_link_to_form("Accounts Settings", "Accounts Settings")
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user