blob: b48cafc99abf58490d16d36b07533a05d559bf7a [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 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Sales"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +05308 "icon": "fa fa-star",
Anand Doshi08ef4672014-05-08 11:43:18 +05309 "items": [
10 {
11 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053012 "name": "Quotation",
13 "description": _("Quotes to Leads or Customers."),
14 },
15 {
16 "type": "doctype",
17 "name": "Sales Order",
18 "description": _("Confirmed orders from Customers."),
19 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053020 ]
21 },
22 {
23 "label": _("Customers"),
24 "items": [
25 {
26 "type": "doctype",
27 "name": "Customer",
28 "description": _("Customer database."),
29 },
30 {
Saurabh52ec0ed2016-07-05 18:02:38 +053031 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053032 "label": _("Customer Group"),
Saurabh52ec0ed2016-07-05 18:02:38 +053033 "name": "Customer Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053034 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +053035 "link": "Tree/Customer Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053036 "description": _("Manage Customer Group Tree."),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053037 },
Anand Doshi08ef4672014-05-08 11:43:18 +053038 {
39 "type": "doctype",
40 "name": "Contact",
41 "description": _("All Contacts."),
42 },
43 {
44 "type": "doctype",
45 "name": "Address",
46 "description": _("All Addresses."),
47 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053048
49 ]
50 },
51 {
52 "label": _("Items and Pricing"),
53 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053054 {
55 "type": "doctype",
56 "name": "Item",
57 "description": _("All Products or Services."),
58 },
Anand Doshi08ef4672014-05-08 11:43:18 +053059 {
60 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053061 "name": "Product Bundle",
62 "description": _("Bundle items at time of sale."),
Anand Doshi08ef4672014-05-08 11:43:18 +053063 },
Rushabh Mehta85ff3bc2014-07-22 14:43:14 +053064 {
65 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053066 "name": "Price List",
67 "description": _("Price List master.")
Anand Doshi08ef4672014-05-08 11:43:18 +053068 },
69 {
Saurabh52ec0ed2016-07-05 18:02:38 +053070 "type": "doctype",
71 "name": "Item Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053072 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053073 "label": _("Item Group"),
Saurabh17022732016-06-21 13:19:17 +053074 "link": "Tree/Item Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053075 "description": _("Tree of Item Groups."),
Anand Doshi08ef4672014-05-08 11:43:18 +053076 },
77 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053078 "type": "doctype",
79 "name": "Item Price",
80 "description": _("Multiple Item prices."),
81 "route": "Report/Item Price"
82 },
83 {
84 "type": "doctype",
85 "name": "Shipping Rule",
86 "description": _("Rules for adding shipping costs.")
87 },
88 {
89 "type": "doctype",
90 "name": "Pricing Rule",
91 "description": _("Rules for applying pricing and discount.")
92 },
93
94 ]
95 },
96 {
97 "label": _("Sales Partners and Territory"),
98 "items": [
99 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530100 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530101 "label": _("Territory"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530102 "name": "Territory",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530103 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530104 "link": "Tree/Territory",
Anand Doshi08ef4672014-05-08 11:43:18 +0530105 "description": _("Manage Territory Tree."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530106 },
107 {
Anand Doshi11ada532014-06-27 21:02:55 +0530108 "type": "doctype",
109 "name": "Sales Partner",
110 "description": _("Manage Sales Partners."),
111 },
112 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530113 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530114 "label": _("Sales Person"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530115 "name": "Sales Person",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530116 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530117 "link": "Tree/Sales Person",
Anand Doshi08ef4672014-05-08 11:43:18 +0530118 "description": _("Manage Sales Person Tree."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530119 },
120 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530121 "type": "report",
122 "is_query_report": True,
mbauskarcbc49e22017-01-19 17:45:22 +0530123 "name": "Addresses And Contacts",
ahmadRagheb9017f372017-06-07 17:38:39 +0300124 "label": _("Sales Partner Addresses And Contacts"),
mbauskarcbc49e22017-01-19 17:45:22 +0530125 "doctype": "Address",
126 "route_options": {
127 "party_type": "Sales Partner"
128 }
129 },
130 {
131 "type": "report",
132 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530133 "name": "Territory Target Variance (Item Group-Wise)",
134 "route": "query-report/Territory Target Variance Item Group-Wise",
135 "doctype": "Territory"
136 },
137 {
138 "type": "report",
139 "is_query_report": True,
140 "name": "Sales Person Target Variance (Item Group-Wise)",
141 "route": "query-report/Sales Person Target Variance Item Group-Wise",
142 "doctype": "Sales Person",
143 },
144 ]
145 },
146 {
147 "label": _("Setup"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530148 "icon": "fa fa-cog",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530149 "items": [
150 {
151 "type": "doctype",
152 "name": "Selling Settings",
153 "description": _("Default settings for selling transactions.")
154 },
155 {
156 "type": "doctype",
157 "name": "Campaign",
158 "description": _("Sales campaigns."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530159 },
160 {
161 "type": "doctype",
162 "name":"Terms and Conditions",
163 "label": _("Terms and Conditions Template"),
164 "description": _("Template of terms or contract.")
165 },
166 {
167 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +0530168 "name": "Sales Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +0530169 "description": _("Tax template for selling transactions.")
170 },
171 {
172 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530173 "name": "Industry Type",
174 "description": _("Track Leads by Industry Type.")
175 },
Harsh Patel22e6f8d2018-03-08 16:23:59 +0530176 {
177 "type": "doctype",
178 "name": "Lead Source",
179 "description": _("Track Leads by Lead Source.")
180 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530181 ]
182 },
183 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530184 "label": _("Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530185 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530186 "items": [
187 {
188 "type": "page",
189 "name": "sales-analytics",
190 "label": _("Sales Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530191 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530192 },
193 {
194 "type": "page",
195 "name": "sales-funnel",
196 "label": _("Sales Funnel"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530197 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530198 },
199 {
200 "type": "report",
201 "is_query_report": True,
202 "name": "Customer Acquisition and Loyalty",
203 "doctype": "Customer",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530204 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530205 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530206 {
207 "type": "report",
208 "is_query_report": True,
209 "name": "Quotation Trends",
210 "doctype": "Quotation"
211 },
212 {
213 "type": "report",
214 "is_query_report": True,
215 "name": "Sales Order Trends",
216 "doctype": "Sales Order"
217 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530218 ]
219 },
220 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530221 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530222 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530223 "items": [
224 {
225 "type": "report",
226 "is_query_report": True,
227 "name": "Lead Details",
228 "doctype": "Lead"
229 },
230 {
231 "type": "report",
232 "is_query_report": True,
mbauskarcbc49e22017-01-19 17:45:22 +0530233 "name": "Addresses And Contacts",
ahmadRagheb9017f372017-06-07 17:38:39 +0300234 "label": _("Customer Addresses And Contacts"),
mbauskarcbc49e22017-01-19 17:45:22 +0530235 "doctype": "Address",
236 "route_options": {
237 "party_type": "Customer"
238 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530239 },
240 {
241 "type": "report",
242 "is_query_report": True,
243 "name": "Ordered Items To Be Delivered",
244 "doctype": "Sales Order"
245 },
246 {
247 "type": "report",
248 "is_query_report": True,
249 "name": "Sales Person-wise Transaction Summary",
250 "doctype": "Sales Order"
251 },
252 {
253 "type": "report",
254 "is_query_report": True,
255 "name": "Item-wise Sales History",
256 "doctype": "Item"
257 },
258 {
259 "type": "report",
260 "is_query_report": True,
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530261 "name": "BOM Search",
262 "doctype": "BOM"
263 },
264 {
265 "type": "report",
266 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530267 "name": "Inactive Customers",
Anand Doshi08ef4672014-05-08 11:43:18 +0530268 "doctype": "Sales Order"
269 },
270 {
271 "type": "report",
272 "is_query_report": True,
273 "name": "Available Stock for Packing Items",
274 "doctype": "Item",
275 },
276 {
277 "type": "report",
278 "is_query_report": True,
279 "name": "Pending SO Items For Purchase Request",
280 "doctype": "Sales Order"
281 },
Nabin Hait7dbcee82014-10-30 15:49:17 +0530282 {
283 "type": "report",
284 "is_query_report": True,
285 "name": "Customer Credit Balance",
286 "doctype": "Customer"
287 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530288 ]
289 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530290 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530291 "label": _("SMS"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530292 "icon": "fa fa-wrench",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530293 "items": [
294 {
295 "type": "doctype",
296 "name": "SMS Center",
297 "description":_("Send mass SMS to your contacts"),
298 },
299 {
300 "type": "doctype",
301 "name": "SMS Log",
302 "description":_("Logs for maintaining sms delivery status"),
303 },
304 {
305 "type": "doctype",
306 "name": "SMS Settings",
307 "description": _("Setup SMS gateway settings")
308 },
309 ]
310 },
311 {
Rushabh Mehta67712402015-05-25 18:30:53 +0530312 "label": _("Help"),
313 "items": [
314 {
315 "type": "help",
316 "label": _("Customer and Supplier"),
317 "youtube_id": "anoGi_RpQ20"
318 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530319 {
320 "type": "help",
321 "label": _("Sales Order to Payment"),
322 "youtube_id": "7AMq4lqkN4A"
323 },
324 {
325 "type": "help",
326 "label": _("Point-of-Sale"),
327 "youtube_id": "4WkelWkbP_c"
328 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530329 ]
330 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530331 ]