mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
Merge pull request #44849 from frappe/mergify/bp/version-15-hotfix/pr-44797
fix(ux): purchase invoice link in error message (backport #44797)
This commit is contained in:
@@ -1677,7 +1677,12 @@ class PurchaseInvoice(BuyingController):
|
|||||||
|
|
||||||
if pi:
|
if pi:
|
||||||
pi = pi[0][0]
|
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):
|
def update_billing_status_in_pr(self, update_modified=True):
|
||||||
if self.is_return and not self.update_billed_amount_in_purchase_receipt:
|
if self.is_return and not self.update_billed_amount_in_purchase_receipt:
|
||||||
|
|||||||
Reference in New Issue
Block a user