blob: a3b69174336dd4950452617943f9dd1017a8a2f9 [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Anand Doshi08ef4672014-05-08 11:43:18 +05304def get_data():
5 return [
6 {
7 "label": _("Documents"),
8 "icon": "icon-star",
9 "items": [
10 {
11 "type": "doctype",
Rushabh Mehtabd9b62f2014-11-28 11:45:02 +053012 "name": "Issue",
Anand Doshi08ef4672014-05-08 11:43:18 +053013 "description": _("Support queries from customers."),
14 },
15 {
16 "type": "doctype",
Rushabh Mehta46e03ea2015-02-17 10:45:50 +053017 "name": "Warranty Claim",
18 "description": _("Warranty Claim against Serial No."),
Anand Doshi08ef4672014-05-08 11:43:18 +053019 },
20 {
21 "type": "doctype",
22 "name": "Maintenance Schedule",
23 "description": _("Plan for maintenance visits."),
24 },
25 {
26 "type": "doctype",
27 "name": "Maintenance Visit",
28 "description": _("Visit report for maintenance call."),
29 },
30 {
31 "type": "doctype",
32 "name": "Newsletter",
33 "description": _("Newsletters to contacts, leads."),
34 },
35 {
36 "type": "doctype",
37 "name": "Communication",
38 "description": _("Communication log."),
39 },
40 {
41 "type": "doctype",
42 "name": "Serial No",
43 "description": _("Single unit of an Item."),
44 },
45 ]
46 },
47 {
48 "label": _("Setup"),
49 "icon": "icon-cog",
50 "items": [
51 {
52 "type": "doctype",
Rushabh Mehta5cdc8e52014-09-15 16:59:38 +053053 "name": "Email Account",
Anand Doshi08ef4672014-05-08 11:43:18 +053054 "description": _("Setup incoming server for support email id. (e.g. support@example.com)")
55 },
56 ]
57 },
58 {
59 "label": _("Standard Reports"),
60 "icon": "icon-list",
61 "items": [
62 {
63 "type": "page",
64 "name": "support-analytics",
65 "label": _("Support Analytics"),
66 "icon": "icon-bar-chart"
67 },
68 {
69 "type": "report",
70 "name": "Maintenance Schedules",
71 "is_query_report": True,
72 "doctype": "Maintenance Schedule"
73 },
74 ]
75 },
76 ]