[redesign] modules

This commit is contained in:
Rushabh Mehta
2016-03-08 18:06:21 +05:30
parent b073cf4fa1
commit d1e1c52171
14 changed files with 762 additions and 664 deletions

View File

@@ -4,8 +4,7 @@ from frappe import _
def get_data():
return [
{
"label": _("Documents"),
"icon": "icon-star",
"label": _("Issues"),
"items": [
{
"type": "doctype",
@@ -14,9 +13,14 @@ def get_data():
},
{
"type": "doctype",
"name": "Warranty Claim",
"description": _("Warranty Claim against Serial No."),
"name": "Communication",
"description": _("Communication log."),
},
]
},
{
"label": _("Maintenance"),
"items": [
{
"type": "doctype",
"name": "Maintenance Schedule",
@@ -28,14 +32,20 @@ def get_data():
"description": _("Visit report for maintenance call."),
},
{
"type": "doctype",
"name": "Newsletter",
"description": _("Newsletters to contacts, leads."),
"type": "report",
"name": "Maintenance Schedules",
"is_query_report": True,
"doctype": "Maintenance Schedule"
},
]
},
{
"label": _("Warranty"),
"items": [
{
"type": "doctype",
"name": "Communication",
"description": _("Communication log."),
"name": "Warranty Claim",
"description": _("Warranty Claim against Serial No."),
},
{
"type": "doctype",
@@ -45,18 +55,7 @@ def get_data():
]
},
{
"label": _("Setup"),
"icon": "icon-cog",
"items": [
{
"type": "doctype",
"name": "Email Account",
"description": _("Setup incoming server for support email id. (e.g. support@example.com)")
},
]
},
{
"label": _("Standard Reports"),
"label": _("Reports"),
"icon": "icon-list",
"items": [
{
@@ -65,12 +64,6 @@ def get_data():
"label": _("Support Analytics"),
"icon": "icon-bar-chart"
},
{
"type": "report",
"name": "Maintenance Schedules",
"is_query_report": True,
"doctype": "Maintenance Schedule"
},
]
},
]