blob: 05017845b2e25ac2097af93e56ce55f77474d234 [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 },
Harshit56d03a42019-08-23 11:34:25 +053044 {
45 "type": "doctype",
46 "name": "Contract",
47 "description": _("Helps you keep tracks of Contracts based on Supplier, Customer and Employee"),
48 },
Pranav Nachnekard63ad3b2019-11-25 11:20:47 +000049 {
50 "type": "doctype",
51 "name": "Newsletter",
52 "label": _("Newsletter"),
53 }
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053054 ]
55 },
56 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053057 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053058 "icon": "fa fa-list",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053059 "items": [
60 {
Rohit Waghchaure6681b0d2017-04-14 16:49:22 +053061 "type": "report",
62 "is_query_report": True,
63 "name": "Lead Details",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053064 "doctype": "Lead",
65 "onboard": 1,
Rohit Waghchaure6681b0d2017-04-14 16:49:22 +053066 },
67 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053068 "type": "page",
69 "name": "sales-funnel",
70 "label": _("Sales Funnel"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053071 "icon": "fa fa-bar-chart",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053072 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053073 },
74 {
75 "type": "report",
Rohit Waghchaure1c685092017-04-13 19:51:14 +053076 "name": "Prospects Engaged But Not Converted",
77 "doctype": "Lead",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053078 "is_query_report": True,
79 "onboard": 1,
Rohit Waghchaure1c685092017-04-13 19:51:14 +053080 },
81 {
82 "type": "report",
Rohit Waghchaure6681b0d2017-04-14 16:49:22 +053083 "name": "Minutes to First Response for Opportunity",
84 "doctype": "Opportunity",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053085 "is_query_report": True,
86 "dependencies": ["Opportunity"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053087 },
88 {
89 "type": "report",
90 "is_query_report": True,
Kanchan Chauhan283b8c92016-11-01 13:05:11 +053091 "name": "Customer Addresses And Contacts",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053092 "doctype": "Contact",
93 "dependencies": ["Customer"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053094 },
95 {
96 "type": "report",
97 "is_query_report": True,
98 "name": "Inactive Customers",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053099 "doctype": "Sales Order",
100 "dependencies": ["Sales Order"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530101 },
pawanc27d9f72017-04-25 19:01:27 +0530102 {
103 "type": "report",
104 "is_query_report": True,
105 "name": "Campaign Efficiency",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530106 "doctype": "Lead",
107 "dependencies": ["Lead"]
pawanc27d9f72017-04-25 19:01:27 +0530108 },
109 {
110 "type": "report",
111 "is_query_report": True,
112 "name": "Lead Owner Efficiency",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530113 "doctype": "Lead",
114 "dependencies": ["Lead"]
pawanc27d9f72017-04-25 19:01:27 +0530115 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530116 ]
117 },
118 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530119 "label": _("Settings"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530120 "icon": "fa fa-cog",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530121 "items": [
122 {
123 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530124 "label": _("Customer Group"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530125 "name": "Customer Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530126 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530127 "link": "Tree/Customer Group",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530128 "description": _("Manage Customer Group Tree."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530129 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530130 },
131 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530132 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530133 "label": _("Territory"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530134 "name": "Territory",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530135 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530136 "link": "Tree/Territory",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530137 "description": _("Manage Territory Tree."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530138 "onboard": 1,
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530139 },
140 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530141 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530142 "label": _("Sales Person"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530143 "name": "Sales Person",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530144 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530145 "link": "Tree/Sales Person",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530146 "description": _("Manage Sales Person Tree."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530147 "onboard": 1,
148 },
149 {
150 "type": "doctype",
151 "name": "Campaign",
152 "description": _("Sales campaigns."),
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530153 },
Harsh Patel22e6f8d2018-03-08 16:23:59 +0530154 {
155 "type": "doctype",
Rucha Mahabalb54459e2019-07-22 03:23:40 +0530156 "name": "Email Campaign",
157 "description": _("Sends Mails to lead or contact based on a Campaign schedule"),
158 },
159 {
160 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530161 "name": "SMS Center",
162 "description":_("Send mass SMS to your contacts"),
163 },
164 {
165 "type": "doctype",
166 "name": "SMS Log",
167 "description":_("Logs for maintaining sms delivery status"),
168 },
Rushabh Mehta14ae4c32015-03-18 20:02:44 +0530169 {
170 "type": "doctype",
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530171 "name": "SMS Settings",
172 "description": _("Setup SMS gateway settings")
Pranav Nachnekard63ad3b2019-11-25 11:20:47 +0000173 },
174 {
175 "type": "doctype",
176 "label": _("Email Group"),
177 "name": "Email Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530178 }
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530179 ]
180 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530181 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530182 "label": _("Maintenance"),
183 "icon": "fa fa-star",
184 "items": [
185 {
186 "type": "doctype",
187 "name": "Maintenance Schedule",
188 "description": _("Plan for maintenance visits."),
189 "onboard": 1,
190 },
191 {
192 "type": "doctype",
193 "name": "Maintenance Visit",
194 "description": _("Visit report for maintenance call."),
195 },
196 {
197 "type": "report",
198 "name": "Maintenance Schedules",
199 "is_query_report": True,
200 "doctype": "Maintenance Schedule"
201 },
202 {
203 "type": "doctype",
204 "name": "Warranty Claim",
205 "description": _("Warranty Claim against Serial No."),
206 },
207 ]
208 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530209 # {
210 # "label": _("Help"),
211 # "items": [
212 # {
213 # "type": "help",
214 # "label": _("Lead to Quotation"),
215 # "youtube_id": "TxYX4r4JAKA"
216 # },
217 # {
218 # "type": "help",
219 # "label": _("Newsletters"),
220 # "youtube_id": "muLKsCrrDRo"
221 # },
222 # ]
223 # },
Rushabh Mehta60cfccb2015-02-17 10:36:54 +0530224 ]