blob: a3cb5d496144c4deda628c368c66925c4a0eedfe [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Rushabh Mehta793ba6b2014-02-14 15:47:51 +05302from frappe import _
Rushabh Mehta22ababb2014-02-07 18:12:43 +05303
Nabin Haite6085392014-05-16 19:56:06 +05304def get_data():
Rushabh Mehta1bf440b2016-01-14 18:14:50 +05305 return [
6 {
Rushabh Mehta0e2dd852016-04-13 17:21:57 +05307 "module_name": "Item",
8 "_doctype": "Item",
9 "color": "#f39c12",
10 "icon": "octicon octicon-package",
11 "type": "link",
12 "link": "List/Item"
13 },
14 {
15 "module_name": "Customer",
16 "_doctype": "Customer",
17 "color": "#1abc9c",
18 "icon": "octicon octicon-tag",
19 "type": "link",
20 "link": "List/Customer"
21 },
22 {
23 "module_name": "Supplier",
24 "_doctype": "Supplier",
25 "color": "#c0392b",
26 "icon": "octicon octicon-briefcase",
27 "type": "link",
28 "link": "List/Supplier"
29 },
30 {
31 "module_name": "Income Statement",
32 "_doctype": "Account",
33 "color": "#3498db",
34 "icon": "octicon octicon-repo",
35 "type": "link",
36 "link": "query-report/Profit and Loss Statement"
37 },
38 {
39 "_doctype": "Employee",
40 "module_name": "Employee",
41 "color": "#2ecc71",
42 "icon": "octicon octicon-organization",
43 "type": "link",
44 "link": "List/Employee"
45 },
46 {
47 "module_name": "Project",
48 "_doctype": "Project",
49 "color": "#8e44ad",
50 "icon": "octicon octicon-rocket",
51 "type": "link",
52 "link": "List/Project"
53 },
54 {
55 "module_name": "Issue",
56 "color": "#2c3e50",
57 "icon": "octicon octicon-issue-opened",
58 "_doctype": "Issue",
59 "type": "link",
60 "link": "List/Issue"
61 },
62 {
63 "module_name": "Lead",
64 "icon": "octicon octicon-broadcast",
65 "type": "module",
66 "_doctype": "Lead",
67 "type": "link",
68 "link": "List/Lead"
69 },
70
71 # old
72 {
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053073 "module_name": "Accounts",
Nabin Haite6085392014-05-16 19:56:06 +053074 "color": "#3498db",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +053075 "icon": "octicon octicon-repo",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053076 "type": "module",
77 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +053078 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053079 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053080 "module_name": "Stock",
81 "color": "#f39c12",
82 "icon": "icon-truck",
83 "icon": "octicon octicon-package",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053084 "type": "module",
85 "hidden": 1
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053086 },
87 {
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053088 "module_name": "CRM",
89 "color": "#EF4DB6",
90 "icon": "octicon octicon-broadcast",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053091 "type": "module",
92 "hidden": 1
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053093 },
94 {
95 "module_name": "Selling",
96 "color": "#1abc9c",
97 "icon": "icon-tag",
98 "icon": "octicon octicon-tag",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053099 "type": "module",
100 "hidden": 1
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530101 },
102 {
103 "module_name": "Buying",
Nabin Haite6085392014-05-16 19:56:06 +0530104 "color": "#c0392b",
105 "icon": "icon-shopping-cart",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530106 "icon": "octicon octicon-briefcase",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530107 "type": "module",
108 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530109 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530110 {
111 "module_name": "HR",
Nabin Haite6085392014-05-16 19:56:06 +0530112 "color": "#2ecc71",
113 "icon": "icon-group",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530114 "icon": "octicon octicon-organization",
Nabin Haite6085392014-05-16 19:56:06 +0530115 "label": _("Human Resources"),
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530116 "type": "module",
117 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530118 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530119 {
120 "module_name": "Manufacturing",
Nabin Haite6085392014-05-16 19:56:06 +0530121 "color": "#7f8c8d",
122 "icon": "icon-cogs",
Rushabh Mehtaff582612015-01-02 14:40:48 +0530123 "icon": "octicon octicon-tools",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530124 "type": "module",
125 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530126 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530127 {
128 "module_name": "POS",
Rushabh Mehta72e17192014-08-08 15:30:49 +0530129 "color": "#589494",
130 "icon": "icon-th",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530131 "icon": "octicon octicon-credit-card",
Rushabh Mehta72e17192014-08-08 15:30:49 +0530132 "type": "page",
Rushabh Mehtaeb961372016-01-04 15:48:37 +0530133 "link": "pos",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530134 "label": _("POS"),
135 "hidden": 1
Rushabh Mehta72e17192014-08-08 15:30:49 +0530136 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530137 {
138 "module_name": "Projects",
Nabin Haite6085392014-05-16 19:56:06 +0530139 "color": "#8e44ad",
140 "icon": "icon-puzzle-piece",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530141 "icon": "octicon octicon-rocket",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530142 "type": "module",
143 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530144 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530145 {
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530146 "module_name": "Support",
Nabin Haite6085392014-05-16 19:56:06 +0530147 "color": "#2c3e50",
148 "icon": "icon-phone",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530149 "icon": "octicon octicon-issue-opened",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530150 "type": "module",
151 "hidden": 1
Rushabh Mehta67712402015-05-25 18:30:53 +0530152 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530153 {
154 "module_name": "Learn",
Rushabh Mehta7d23e422015-11-02 10:45:18 +0530155 "color": "#FF888B",
Rushabh Mehta7d23e422015-11-02 10:45:18 +0530156 "icon": "octicon octicon-device-camera-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530157 "type": "module",
Rushabh Mehtaeb961372016-01-04 15:48:37 +0530158 "is_help": True,
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530159 "label": _("Learn"),
160 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530161 }
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530162 ]