[minor] absolute links for portal menu
diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index 9c532af..72bc40d 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -82,13 +82,13 @@
]
portal_menu_items = [
- {"title": _("Projects"), "route": "project", "reference_doctype": "Project"},
- {"title": _("Request for Quotations"), "route": "rfq", "reference_doctype": "Request for Quotation"},
- {"title": _("Orders"), "route": "orders", "reference_doctype": "Sales Order"},
- {"title": _("Invoices"), "route": "invoices", "reference_doctype": "Sales Invoice"},
- {"title": _("Shipments"), "route": "shipments", "reference_doctype": "Delivery Note"},
- {"title": _("Issues"), "route": "issues", "reference_doctype": "Issue"},
- {"title": _("Addresses"), "route": "addresses", "reference_doctype": "Address"}
+ {"title": _("Projects"), "route": "/project", "reference_doctype": "Project"},
+ {"title": _("Request for Quotations"), "route": "/rfq", "reference_doctype": "Request for Quotation"},
+ {"title": _("Orders"), "route": "/orders", "reference_doctype": "Sales Order"},
+ {"title": _("Invoices"), "route": "/invoices", "reference_doctype": "Sales Invoice"},
+ {"title": _("Shipments"), "route": "/shipments", "reference_doctype": "Delivery Note"},
+ {"title": _("Issues"), "route": "/issues", "reference_doctype": "Issue"},
+ {"title": _("Addresses"), "route": "/addresses", "reference_doctype": "Address"}
]
has_website_permission = {
@@ -165,4 +165,4 @@
bot_parsers = [
'erpnext.utilities.bot.FindItemBot',
-]
\ No newline at end of file
+]