blob: 70784f3d5f7d033d4f8b3a73677f58cbf6104357 [file] [log] [blame]
Aditya Hasef3c22f32019-01-22 18:22:20 +05301from __future__ import unicode_literals
Rushabh Mehta60cfccb2015-02-17 10:36:54 +05302from frappe import _
3
4def get_data():
5 return [
6 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Sales Pipeline"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +05308 "icon": "fa fa-star",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +05309 "items": [
10 {
11 "type": "doctype",
12 "name": "Lead",
13 "description": _("Database of potential customers."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053014 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +053015 },
16 {
17 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053018 "name": "Opportunity",
19 "description": _("Potential opportunities for selling."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053020 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +053021 },
22 {
23 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053024 "name": "Customer",
25 "description": _("Customer database."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053026 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +053027 },
28 {
29 "type": "doctype",
30 "name": "Contact",
31 "description": _("All Contacts."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053032 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +053033 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053034 {
35 "type": "doctype",
36 "name": "Communication",
37 "description": _("Record of all communications of type email, phone, chat, visit, etc."),
38 },
39 {
40 "type": "doctype",
41 "name": "Lead Source",
42 "description": _("Track Leads by Lead Source.")
43 },
44 ]
45 },
46 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053047 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053048 "icon": "fa fa-list",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053049 "items": [
50 {
Rohit Waghchaure6681b0d2017-04-14 16:49:22 +053051 "type": "report",
52 "is_query_report": True,
53 "name": "Lead Details",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053054 "doctype": "Lead",
55 "onboard": 1,
Rohit Waghchaure6681b0d2017-04-14 16:49:22 +053056 },
57 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053058 "type": "page",
59 "name": "sales-funnel",
60 "label": _("Sales Funnel"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053061 "icon": "fa fa-bar-chart",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053062 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053063 },
64 {
65 "type": "report",
Rohit Waghchaure1c685092017-04-13 19:51:14 +053066 "name": "Prospects Engaged But Not Converted",
67 "doctype": "Lead",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053068 "is_query_report": True,
69 "onboard": 1,
Rohit Waghchaure1c685092017-04-13 19:51:14 +053070 },
71 {
72 "type": "report",
Rohit Waghchaure6681b0d2017-04-14 16:49:22 +053073 "name": "Minutes to First Response for Opportunity",
74 "doctype": "Opportunity",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053075 "is_query_report": True,
76 "dependencies": ["Opportunity"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053077 },
78 {
79 "type": "report",
80 "is_query_report": True,
Kanchan Chauhan283b8c92016-11-01 13:05:11 +053081 "name": "Customer Addresses And Contacts",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053082 "doctype": "Contact",
83 "dependencies": ["Customer"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053084 },
85 {
86 "type": "report",
87 "is_query_report": True,
88 "name": "Inactive Customers",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053089 "doctype": "Sales Order",
90 "dependencies": ["Sales Order"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053091 },
pawanc27d9f72017-04-25 19:01:27 +053092 {
93 "type": "report",
94 "is_query_report": True,
95 "name": "Campaign Efficiency",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053096 "doctype": "Lead",
97 "dependencies": ["Lead"]
pawanc27d9f72017-04-25 19:01:27 +053098 },
99 {
100 "type": "report",
101 "is_query_report": True,
102 "name": "Lead Owner Efficiency",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530103 "doctype": "Lead",
104 "dependencies": ["Lead"]
pawanc27d9f72017-04-25 19:01:27 +0530105 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530106 ]
107 },
108 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530109 "label": _("Settings"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530110 "icon": "fa fa-cog",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530111 "items": [
112 {
113 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530114 "label": _("Customer Group"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530115 "name": "Customer Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530116 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530117 "link": "Tree/Customer Group",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530118 "description": _("Manage Customer Group Tree."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530119 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530120 },
121 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530122 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530123 "label": _("Territory"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530124 "name": "Territory",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530125 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530126 "link": "Tree/Territory",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530127 "description": _("Manage Territory Tree."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530128 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530129 },
130 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530131 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530132 "label": _("Sales Person"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530133 "name": "Sales Person",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530134 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530135 "link": "Tree/Sales Person",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530136 "description": _("Manage Sales Person Tree."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530137 "onboard": 1,
138 },
139 {
140 "type": "doctype",
141 "name": "Campaign",
142 "description": _("Sales campaigns."),
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530143 },
Harsh Patel22e6f8d2018-03-08 16:23:59 +0530144 {
145 "type": "doctype",
Rucha Mahabalb54459e2019-07-22 03:23:40 +0530146 "name": "Email Campaign",
147 "description": _("Sends Mails to lead or contact based on a Campaign schedule"),
148 },
149 {
150 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530151 "name": "SMS Center",
152 "description":_("Send mass SMS to your contacts"),
153 },
154 {
155 "type": "doctype",
156 "name": "SMS Log",
157 "description":_("Logs for maintaining sms delivery status"),
158 },
Rushabh Mehta14ae4c32015-03-18 20:02:44 +0530159 {
160 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530161 "name": "SMS Settings",
162 "description": _("Setup SMS gateway settings")
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530163 }
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530164 ]
165 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530166 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530167 "label": _("Maintenance"),
168 "icon": "fa fa-star",
169 "items": [
170 {
171 "type": "doctype",
172 "name": "Maintenance Schedule",
173 "description": _("Plan for maintenance visits."),
174 "onboard": 1,
175 },
176 {
177 "type": "doctype",
178 "name": "Maintenance Visit",
179 "description": _("Visit report for maintenance call."),
180 },
181 {
182 "type": "report",
183 "name": "Maintenance Schedules",
184 "is_query_report": True,
185 "doctype": "Maintenance Schedule"
186 },
187 {
188 "type": "doctype",
189 "name": "Warranty Claim",
190 "description": _("Warranty Claim against Serial No."),
191 },
192 ]
193 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530194 # {
195 # "label": _("Help"),
196 # "items": [
197 # {
198 # "type": "help",
199 # "label": _("Lead to Quotation"),
200 # "youtube_id": "TxYX4r4JAKA"
201 # },
202 # {
203 # "type": "help",
204 # "label": _("Newsletters"),
205 # "youtube_id": "muLKsCrrDRo"
206 # },
207 # ]
208 # },
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530209 ]