Skip to content

Commit

Permalink
fix(ux): purchase invoice link in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nijithanil committed Dec 19, 2024
1 parent 8ddc26e commit d4b2045
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,9 @@ def validate_supplier_invoice(self):

if pi:
pi = pi[0][0]
frappe.throw(_("Supplier Invoice No exists in Purchase Invoice {0}").format(pi))
frappe.throw(_("Supplier Invoice No exists in Purchase Invoice {0}").format(
get_link_to_form("Purchase Invoice", pi)
))

def update_billing_status_in_pr(self, update_modified=True):
updated_pr = []
Expand Down

0 comments on commit d4b2045

Please sign in to comment.