diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 6ff0a13c8d..fedc6d5cae 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -79,13 +79,7 @@ website_route_rules = [ "parents": [{"title": _("Supplier Quotation"), "name": "quotations"}] } }, - {"from_route": "/quotes", "to_route": "Quotation"}, - {"from_route": "/quotes/", "to_route": "order", - "defaults": { - "doctype": "Quotation", - "parents": [{"title": _("Quotes"), "name": "quotes"}] - } - }, + {"from_route": "/quotation", "to_route": "Quotation"}, {"from_route": "/shipments", "to_route": "Delivery Note"}, {"from_route": "/shipments/", "to_route": "order", "defaults": { @@ -116,7 +110,7 @@ standard_portal_menu_items = [ {"title": _("Projects"), "route": "/project", "reference_doctype": "Project"}, {"title": _("Request for Quotations"), "route": "/rfq", "reference_doctype": "Request for Quotation", "role": "Supplier"}, {"title": _("Supplier Quotation"), "route": "/quotations", "reference_doctype": "Supplier Quotation", "role": "Supplier"}, - {"title": _("Quotes"), "route": "/quotes", "reference_doctype": "Quotation", "role":"Customer"}, + {"title": _("Quotations"), "route": "/quotation", "reference_doctype": "Quotation", "role":"Customer"}, {"title": _("Orders"), "route": "/orders", "reference_doctype": "Sales Order", "role":"Customer"}, {"title": _("Invoices"), "route": "/invoices", "reference_doctype": "Sales Invoice", "role":"Customer"}, {"title": _("Shipments"), "route": "/shipments", "reference_doctype": "Delivery Note", "role":"Customer"}, diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index a4d4bf9324..420b84a634 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -93,7 +93,7 @@ def get_list_context(context=None): 'show_sidebar': True, 'show_search': True, 'no_breadcrumbs': True, - 'title': _('Quotes'), + 'title': _('Quotations'), }) return list_context