Merge branch 'develop' into FIX-ISS-22-23-05936
This commit is contained in:
commit
4c35a37eaa
@ -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
|
||||||
|
@ -7,6 +7,9 @@ from erpnext.setup.utils import get_exchange_rate
|
|||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc(
|
||||||
|
"accounts", "doctype", "currency_exchange_settings"
|
||||||
|
) # get_exchange_rate depends on Currency Exchange Settings
|
||||||
frappe.reload_doctype("Opportunity")
|
frappe.reload_doctype("Opportunity")
|
||||||
opportunities = frappe.db.get_list(
|
opportunities = frappe.db.get_list(
|
||||||
"Opportunity",
|
"Opportunity",
|
||||||
|
Loading…
Reference in New Issue
Block a user