refactor: pass both doctype and name

This commit is contained in:
ruthra kumar
2025-04-08 15:13:59 +05:30
parent 512877ab46
commit 88facb7523

View File

@@ -190,7 +190,7 @@ class AccountsController(TransactionBase):
if msg:
msg += " you can use {} tool to reconcile against {} later.".format(
get_link_to_form("Payment Reconciliation"),
get_link_to_form("Payment Reconciliation", "Payment Reconciliation"),
get_link_to_form(self.doctype, self.get("return_against")),
)
frappe.msgprint(_(msg))