mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 19:55:29 +00:00
fix: Supplier RFQ email link (#34338)
fix: Supplier RFQ email link (#34338)
(cherry picked from commit fc86a8568f)
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
@@ -113,7 +113,10 @@ class RequestforQuotation(BuyingController):
|
|||||||
|
|
||||||
def get_link(self):
|
def get_link(self):
|
||||||
# RFQ link for supplier portal
|
# RFQ link for supplier portal
|
||||||
return get_url("/app/request-for-quotation/" + self.name)
|
route = frappe.db.get_value(
|
||||||
|
"Portal Menu Item", {"reference_doctype": "Request for Quotation"}, ["route"]
|
||||||
|
)
|
||||||
|
return get_url("/app/{0}/".format(route) + self.name)
|
||||||
|
|
||||||
def update_supplier_part_no(self, supplier):
|
def update_supplier_part_no(self, supplier):
|
||||||
self.vendor = supplier
|
self.vendor = supplier
|
||||||
|
|||||||
Reference in New Issue
Block a user