blob: 45ec1f749c8a8c934cc5b52af71dfd4ac073e57d [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"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "icon": "icon-star",
9 "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 Mehtad1e1c522016-03-08 18:06:21 +053034 "icon": "icon-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",
Anand Doshi08ef4672014-05-08 11:43:18 +053072 "icon": "icon-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",
Anand Doshi08ef4672014-05-08 11:43:18 +0530103 "icon": "icon-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",
Anand Doshi08ef4672014-05-08 11:43:18 +0530116 "icon": "icon-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,
123 "name": "Territory Target Variance (Item Group-Wise)",
124 "route": "query-report/Territory Target Variance Item Group-Wise",
125 "doctype": "Territory"
126 },
127 {
128 "type": "report",
129 "is_query_report": True,
130 "name": "Sales Person Target Variance (Item Group-Wise)",
131 "route": "query-report/Sales Person Target Variance Item Group-Wise",
132 "doctype": "Sales Person",
133 },
134 ]
135 },
136 {
137 "label": _("Setup"),
138 "icon": "icon-cog",
139 "items": [
140 {
141 "type": "doctype",
142 "name": "Selling Settings",
143 "description": _("Default settings for selling transactions.")
144 },
145 {
146 "type": "doctype",
147 "name": "Campaign",
148 "description": _("Sales campaigns."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530149 },
150 {
151 "type": "doctype",
152 "name":"Terms and Conditions",
153 "label": _("Terms and Conditions Template"),
154 "description": _("Template of terms or contract.")
155 },
156 {
157 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +0530158 "name": "Sales Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +0530159 "description": _("Tax template for selling transactions.")
160 },
161 {
162 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530163 "name": "Industry Type",
164 "description": _("Track Leads by Industry Type.")
165 },
166 ]
167 },
168 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530169 "label": _("Analytics"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530170 "icon": "icon-table",
171 "items": [
172 {
173 "type": "page",
174 "name": "sales-analytics",
175 "label": _("Sales Analytics"),
176 "icon": "icon-bar-chart",
177 },
178 {
179 "type": "page",
180 "name": "sales-funnel",
181 "label": _("Sales Funnel"),
182 "icon": "icon-bar-chart",
183 },
184 {
185 "type": "report",
186 "is_query_report": True,
187 "name": "Customer Acquisition and Loyalty",
188 "doctype": "Customer",
189 "icon": "icon-bar-chart",
190 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530191 {
192 "type": "report",
193 "is_query_report": True,
194 "name": "Quotation Trends",
195 "doctype": "Quotation"
196 },
197 {
198 "type": "report",
199 "is_query_report": True,
200 "name": "Sales Order Trends",
201 "doctype": "Sales Order"
202 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530203 ]
204 },
205 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530206 "label": _("Other Reports"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530207 "icon": "icon-list",
208 "items": [
209 {
210 "type": "report",
211 "is_query_report": True,
212 "name": "Lead Details",
213 "doctype": "Lead"
214 },
215 {
216 "type": "report",
217 "is_query_report": True,
Nabin Hait60ca1c22015-05-14 12:32:08 +0530218 "name": "Customer Addresses And Contacts",
Anand Doshi08ef4672014-05-08 11:43:18 +0530219 "doctype": "Contact"
220 },
221 {
222 "type": "report",
223 "is_query_report": True,
224 "name": "Ordered Items To Be Delivered",
225 "doctype": "Sales Order"
226 },
227 {
228 "type": "report",
229 "is_query_report": True,
230 "name": "Sales Person-wise Transaction Summary",
231 "doctype": "Sales Order"
232 },
233 {
234 "type": "report",
235 "is_query_report": True,
236 "name": "Item-wise Sales History",
237 "doctype": "Item"
238 },
239 {
240 "type": "report",
241 "is_query_report": True,
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530242 "name": "BOM Search",
243 "doctype": "BOM"
244 },
245 {
246 "type": "report",
247 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530248 "name": "Inactive Customers",
Anand Doshi08ef4672014-05-08 11:43:18 +0530249 "doctype": "Sales Order"
250 },
251 {
252 "type": "report",
253 "is_query_report": True,
254 "name": "Available Stock for Packing Items",
255 "doctype": "Item",
256 },
257 {
258 "type": "report",
259 "is_query_report": True,
260 "name": "Pending SO Items For Purchase Request",
261 "doctype": "Sales Order"
262 },
Nabin Hait7dbcee82014-10-30 15:49:17 +0530263 {
264 "type": "report",
265 "is_query_report": True,
266 "name": "Customer Credit Balance",
267 "doctype": "Customer"
268 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530269 ]
270 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530271 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530272 "label": _("SMS"),
273 "icon": "icon-wrench",
274 "items": [
275 {
276 "type": "doctype",
277 "name": "SMS Center",
278 "description":_("Send mass SMS to your contacts"),
279 },
280 {
281 "type": "doctype",
282 "name": "SMS Log",
283 "description":_("Logs for maintaining sms delivery status"),
284 },
285 {
286 "type": "doctype",
287 "name": "SMS Settings",
288 "description": _("Setup SMS gateway settings")
289 },
290 ]
291 },
292 {
Rushabh Mehta67712402015-05-25 18:30:53 +0530293 "label": _("Help"),
294 "items": [
295 {
296 "type": "help",
297 "label": _("Customer and Supplier"),
298 "youtube_id": "anoGi_RpQ20"
299 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530300 {
301 "type": "help",
302 "label": _("Sales Order to Payment"),
303 "youtube_id": "7AMq4lqkN4A"
304 },
305 {
306 "type": "help",
307 "label": _("Point-of-Sale"),
308 "youtube_id": "4WkelWkbP_c"
309 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530310 ]
311 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530312 ]