From 8a85c2fe02e0fa1415d14cdc25397b960c50c4f8 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 13 Apr 2020 18:53:18 +0530 Subject: [PATCH] refactor: separate custom doctypes and reports --- frappe/desk/desktop.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frappe/desk/desktop.py b/frappe/desk/desktop.py index ce02a9b397..fdea95ff7f 100644 --- a/frappe/desk/desktop.py +++ b/frappe/desk/desktop.py @@ -276,9 +276,13 @@ def get_table_with_counts(): def get_custom_reports_and_doctypes(module): return [ _dict({ - "label": "Custom", - "links": get_custom_doctype_list(module) + get_custom_report_list(module) - }) + "label": _("Custom Documents"), + "links": get_custom_doctype_list(module) + }), + _dict({ + "label": _("Custom Reports"), + "links": get_custom_report_list(module) + }), ] def get_custom_doctype_list(module):