blob: 771a0d7904d741eb50863f88c645805f6d2312c5 [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 {
31 "type": "page",
32 "label": _("Customer Group"),
33 "name": "Sales Browser",
34 "icon": "icon-sitemap",
35 "link": "Sales Browser/Customer Group",
36 "description": _("Manage Customer Group Tree."),
37 "doctype": "Customer Group",
38 },
Anand Doshi08ef4672014-05-08 11:43:18 +053039 {
40 "type": "doctype",
41 "name": "Contact",
42 "description": _("All Contacts."),
43 },
44 {
45 "type": "doctype",
46 "name": "Address",
47 "description": _("All Addresses."),
48 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053049
50 ]
51 },
52 {
53 "label": _("Items and Pricing"),
54 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053055 {
56 "type": "doctype",
57 "name": "Item",
58 "description": _("All Products or Services."),
59 },
Anand Doshi08ef4672014-05-08 11:43:18 +053060 {
61 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053062 "name": "Product Bundle",
63 "description": _("Bundle items at time of sale."),
Anand Doshi08ef4672014-05-08 11:43:18 +053064 },
Rushabh Mehta85ff3bc2014-07-22 14:43:14 +053065 {
66 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053067 "name": "Price List",
68 "description": _("Price List master.")
Anand Doshi08ef4672014-05-08 11:43:18 +053069 },
70 {
71 "type": "page",
Anand Doshi08ef4672014-05-08 11:43:18 +053072 "name": "Sales Browser",
73 "icon": "icon-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053074 "label": _("Item Group"),
75 "link": "Sales Browser/Item Group",
76 "description": _("Tree of Item Groups."),
77 "doctype": "Item Group",
Anand Doshi08ef4672014-05-08 11:43:18 +053078 },
79 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053080 "type": "doctype",
81 "name": "Item Price",
82 "description": _("Multiple Item prices."),
83 "route": "Report/Item Price"
84 },
85 {
86 "type": "doctype",
87 "name": "Shipping Rule",
88 "description": _("Rules for adding shipping costs.")
89 },
90 {
91 "type": "doctype",
92 "name": "Pricing Rule",
93 "description": _("Rules for applying pricing and discount.")
94 },
95
96 ]
97 },
98 {
99 "label": _("Sales Partners and Territory"),
100 "items": [
101 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530102 "type": "page",
103 "label": _("Territory"),
104 "name": "Sales Browser",
105 "icon": "icon-sitemap",
106 "link": "Sales Browser/Territory",
107 "description": _("Manage Territory Tree."),
108 "doctype": "Territory",
109 },
110 {
Anand Doshi11ada532014-06-27 21:02:55 +0530111 "type": "doctype",
112 "name": "Sales Partner",
113 "description": _("Manage Sales Partners."),
114 },
115 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530116 "type": "page",
117 "label": _("Sales Person"),
118 "name": "Sales Browser",
119 "icon": "icon-sitemap",
120 "link": "Sales Browser/Sales Person",
121 "description": _("Manage Sales Person Tree."),
122 "doctype": "Sales Person",
123 },
124 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530125 "type": "report",
126 "is_query_report": True,
127 "name": "Territory Target Variance (Item Group-Wise)",
128 "route": "query-report/Territory Target Variance Item Group-Wise",
129 "doctype": "Territory"
130 },
131 {
132 "type": "report",
133 "is_query_report": True,
134 "name": "Sales Person Target Variance (Item Group-Wise)",
135 "route": "query-report/Sales Person Target Variance Item Group-Wise",
136 "doctype": "Sales Person",
137 },
138 ]
139 },
140 {
141 "label": _("Setup"),
142 "icon": "icon-cog",
143 "items": [
144 {
145 "type": "doctype",
146 "name": "Selling Settings",
147 "description": _("Default settings for selling transactions.")
148 },
149 {
150 "type": "doctype",
151 "name": "Campaign",
152 "description": _("Sales campaigns."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530153 },
154 {
155 "type": "doctype",
156 "name":"Terms and Conditions",
157 "label": _("Terms and Conditions Template"),
158 "description": _("Template of terms or contract.")
159 },
160 {
161 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +0530162 "name": "Sales Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +0530163 "description": _("Tax template for selling transactions.")
164 },
165 {
166 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530167 "name": "Industry Type",
168 "description": _("Track Leads by Industry Type.")
169 },
170 ]
171 },
172 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530173 "label": _("Analytics"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530174 "icon": "icon-table",
175 "items": [
176 {
177 "type": "page",
178 "name": "sales-analytics",
179 "label": _("Sales Analytics"),
180 "icon": "icon-bar-chart",
181 },
182 {
183 "type": "page",
184 "name": "sales-funnel",
185 "label": _("Sales Funnel"),
186 "icon": "icon-bar-chart",
187 },
188 {
189 "type": "report",
190 "is_query_report": True,
191 "name": "Customer Acquisition and Loyalty",
192 "doctype": "Customer",
193 "icon": "icon-bar-chart",
194 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530195 {
196 "type": "report",
197 "is_query_report": True,
198 "name": "Quotation Trends",
199 "doctype": "Quotation"
200 },
201 {
202 "type": "report",
203 "is_query_report": True,
204 "name": "Sales Order Trends",
205 "doctype": "Sales Order"
206 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530207 ]
208 },
209 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530210 "label": _("Other Reports"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530211 "icon": "icon-list",
212 "items": [
213 {
214 "type": "report",
215 "is_query_report": True,
216 "name": "Lead Details",
217 "doctype": "Lead"
218 },
219 {
220 "type": "report",
221 "is_query_report": True,
Nabin Hait60ca1c22015-05-14 12:32:08 +0530222 "name": "Customer Addresses And Contacts",
Anand Doshi08ef4672014-05-08 11:43:18 +0530223 "doctype": "Contact"
224 },
225 {
226 "type": "report",
227 "is_query_report": True,
228 "name": "Ordered Items To Be Delivered",
229 "doctype": "Sales Order"
230 },
231 {
232 "type": "report",
233 "is_query_report": True,
234 "name": "Sales Person-wise Transaction Summary",
235 "doctype": "Sales Order"
236 },
237 {
238 "type": "report",
239 "is_query_report": True,
240 "name": "Item-wise Sales History",
241 "doctype": "Item"
242 },
243 {
244 "type": "report",
245 "is_query_report": True,
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530246 "name": "BOM Search",
247 "doctype": "BOM"
248 },
249 {
250 "type": "report",
251 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530252 "name": "Inactive Customers",
Anand Doshi08ef4672014-05-08 11:43:18 +0530253 "doctype": "Sales Order"
254 },
255 {
256 "type": "report",
257 "is_query_report": True,
258 "name": "Available Stock for Packing Items",
259 "doctype": "Item",
260 },
261 {
262 "type": "report",
263 "is_query_report": True,
264 "name": "Pending SO Items For Purchase Request",
265 "doctype": "Sales Order"
266 },
Nabin Hait7dbcee82014-10-30 15:49:17 +0530267 {
268 "type": "report",
269 "is_query_report": True,
270 "name": "Customer Credit Balance",
271 "doctype": "Customer"
272 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530273 ]
274 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530275 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530276 "label": _("SMS"),
277 "icon": "icon-wrench",
278 "items": [
279 {
280 "type": "doctype",
281 "name": "SMS Center",
282 "description":_("Send mass SMS to your contacts"),
283 },
284 {
285 "type": "doctype",
286 "name": "SMS Log",
287 "description":_("Logs for maintaining sms delivery status"),
288 },
289 {
290 "type": "doctype",
291 "name": "SMS Settings",
292 "description": _("Setup SMS gateway settings")
293 },
294 ]
295 },
296 {
Rushabh Mehta67712402015-05-25 18:30:53 +0530297 "label": _("Help"),
298 "items": [
299 {
300 "type": "help",
301 "label": _("Customer and Supplier"),
302 "youtube_id": "anoGi_RpQ20"
303 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530304 {
305 "type": "help",
306 "label": _("Sales Order to Payment"),
307 "youtube_id": "7AMq4lqkN4A"
308 },
309 {
310 "type": "help",
311 "label": _("Point-of-Sale"),
312 "youtube_id": "4WkelWkbP_c"
313 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530314 ]
315 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530316 ]