Skip to content

Commit

Permalink
fix: minor fix for fieldname change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninad1306 committed Jan 21, 2025
1 parent 4d3b144 commit a43be09
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ frappe.ui.form.on(DOCTYPE, {
// go back to previous page and match the invoice with the inward supply
setTimeout(() => {
frappe.route_hooks.after_load = source_frm => {
if (!(source_frm.purchase_reconciliation_tool || source_frm.ims))
return;
if (!source_frm.reconciliation_tabs) return;
reconciliation.link_documents(
source_frm,
frm.doc.name,
Expand Down

0 comments on commit a43be09

Please sign in to comment.