blob: fef902e32d10a522275c484d86186d18fbcc5e33 [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 },
176 ]
177 },
178 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530179 "label": _("Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530180 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530181 "items": [
182 {
183 "type": "page",
184 "name": "sales-analytics",
185 "label": _("Sales Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530186 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530187 },
188 {
189 "type": "page",
190 "name": "sales-funnel",
191 "label": _("Sales Funnel"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530192 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530193 },
194 {
195 "type": "report",
196 "is_query_report": True,
197 "name": "Customer Acquisition and Loyalty",
198 "doctype": "Customer",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530199 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530200 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530201 {
202 "type": "report",
203 "is_query_report": True,
204 "name": "Quotation Trends",
205 "doctype": "Quotation"
206 },
207 {
208 "type": "report",
209 "is_query_report": True,
210 "name": "Sales Order Trends",
211 "doctype": "Sales Order"
212 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530213 ]
214 },
215 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530216 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530217 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530218 "items": [
219 {
220 "type": "report",
221 "is_query_report": True,
222 "name": "Lead Details",
223 "doctype": "Lead"
224 },
225 {
226 "type": "report",
227 "is_query_report": True,
mbauskarcbc49e22017-01-19 17:45:22 +0530228 "name": "Addresses And Contacts",
ahmadRagheb9017f372017-06-07 17:38:39 +0300229 "label": _("Customer Addresses And Contacts"),
mbauskarcbc49e22017-01-19 17:45:22 +0530230 "doctype": "Address",
231 "route_options": {
232 "party_type": "Customer"
233 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530234 },
235 {
236 "type": "report",
237 "is_query_report": True,
238 "name": "Ordered Items To Be Delivered",
239 "doctype": "Sales Order"
240 },
241 {
242 "type": "report",
243 "is_query_report": True,
244 "name": "Sales Person-wise Transaction Summary",
245 "doctype": "Sales Order"
246 },
247 {
248 "type": "report",
249 "is_query_report": True,
250 "name": "Item-wise Sales History",
251 "doctype": "Item"
252 },
253 {
254 "type": "report",
255 "is_query_report": True,
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530256 "name": "BOM Search",
257 "doctype": "BOM"
258 },
259 {
260 "type": "report",
261 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530262 "name": "Inactive Customers",
Anand Doshi08ef4672014-05-08 11:43:18 +0530263 "doctype": "Sales Order"
264 },
265 {
266 "type": "report",
267 "is_query_report": True,
268 "name": "Available Stock for Packing Items",
269 "doctype": "Item",
270 },
271 {
272 "type": "report",
273 "is_query_report": True,
274 "name": "Pending SO Items For Purchase Request",
275 "doctype": "Sales Order"
276 },
Nabin Hait7dbcee82014-10-30 15:49:17 +0530277 {
278 "type": "report",
279 "is_query_report": True,
280 "name": "Customer Credit Balance",
281 "doctype": "Customer"
282 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530283 ]
284 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530285 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530286 "label": _("SMS"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530287 "icon": "fa fa-wrench",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530288 "items": [
289 {
290 "type": "doctype",
291 "name": "SMS Center",
292 "description":_("Send mass SMS to your contacts"),
293 },
294 {
295 "type": "doctype",
296 "name": "SMS Log",
297 "description":_("Logs for maintaining sms delivery status"),
298 },
299 {
300 "type": "doctype",
301 "name": "SMS Settings",
302 "description": _("Setup SMS gateway settings")
303 },
304 ]
305 },
306 {
Rushabh Mehta67712402015-05-25 18:30:53 +0530307 "label": _("Help"),
308 "items": [
309 {
310 "type": "help",
311 "label": _("Customer and Supplier"),
312 "youtube_id": "anoGi_RpQ20"
313 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530314 {
315 "type": "help",
316 "label": _("Sales Order to Payment"),
317 "youtube_id": "7AMq4lqkN4A"
318 },
319 {
320 "type": "help",
321 "label": _("Point-of-Sale"),
322 "youtube_id": "4WkelWkbP_c"
323 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530324 ]
325 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530326 ]