Skip to content

Commit

Permalink
fix: use utility method to generate url
Browse files Browse the repository at this point in the history
(cherry picked from commit b970eb8)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Dec 18, 2024
1 parent caea52c commit d042330
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ frappe.ui.form.on("Plaid Settings", {
method: "erpnext.erpnext_integrations.doctype.plaid_settings.plaid_settings.enqueue_synchronization",
freeze: true,
callback: () => {
let bank_transaction_link = '<a href="#List/Bank Transaction">Bank Transaction</a>';
let bank_transaction_link = frappe.utils.get_form_link(
"Bank Transaction",
"",
true,
"Bank Transaction"
);

frappe.msgprint({
title: __("Sync Started"),
Expand Down

0 comments on commit d042330

Please sign in to comment.