diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 8306290f72..a087b837a9 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -81,7 +81,7 @@ website_route_rules = [ {"from_route": "/supplier-quotations/", "to_route": "order", "defaults": { "doctype": "Supplier Quotation", - "parents": [{"label": _("Supplier Quotation"), "route": "quotations"}] + "parents": [{"label": _("Supplier Quotation"), "route": "supplier-quotations"}] } }, {"from_route": "/quotations", "to_route": "Quotation"}, diff --git a/erpnext/templates/includes/rfq.js b/erpnext/templates/includes/rfq.js index 3b45cbe506..b56c416dbd 100644 --- a/erpnext/templates/includes/rfq.js +++ b/erpnext/templates/includes/rfq.js @@ -85,7 +85,7 @@ rfq = Class.extend({ frappe.unfreeze(); if(r.message){ $('.btn-sm').hide() - window.location.href = "/quotations/" + encodeURIComponent(r.message); + window.location.href = "/supplier-quotations/" + encodeURIComponent(r.message); } } })