From e778e59e4cb387a1a5d0c2648240a9dc79b8a01b Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 8 Jun 2016 15:34:54 +0530 Subject: [PATCH] [minor] always show issues in sidebar --- erpnext/hooks.py | 2 +- erpnext/public/js/utils/document_flow.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 07347ce8af..1b130a635e 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -89,7 +89,7 @@ portal_menu_items = [ {"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": _("Issues"), "route": "/issues", "reference_doctype": "Issue", "show_always": True}, {"title": _("Addresses"), "route": "/addresses", "reference_doctype": "Address"} ] diff --git a/erpnext/public/js/utils/document_flow.js b/erpnext/public/js/utils/document_flow.js index 31aec8e14d..eaad6f81ef 100644 --- a/erpnext/public/js/utils/document_flow.js +++ b/erpnext/public/js/utils/document_flow.js @@ -3,7 +3,6 @@ // for module flow -frappe.provide('frappe.document_flow'); $.extend(frappe.document_flow, { "Selling": { "Sales Order": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"],