blob: 63e7ad965dad99b4d5abf363a0b197b9b755119d [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",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053012 "name": "Customer",
Basawaraj Savalagi09bafc62019-05-13 14:59:19 +053013 "description": _("Customer Database."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053014 "onboard": 1,
15 },
16 {
17 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053018 "name": "Quotation",
19 "description": _("Quotes to Leads or Customers."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053020 "onboard": 1,
21 "dependencies": ["Item", "Customer"],
Anand Doshi08ef4672014-05-08 11:43:18 +053022 },
23 {
24 "type": "doctype",
25 "name": "Sales Order",
26 "description": _("Confirmed orders from Customers."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053027 "onboard": 1,
28 "dependencies": ["Item", "Customer"],
29 },
30 {
31 "type": "doctype",
Anurag Mishra76795aa2019-04-04 11:38:42 +053032 "name": "Sales Invoice",
33 "description": _("Invoices for Costumers."),
34 "onboard": 1,
35 "dependencies": ["Item", "Customer"],
36 },
37 {
38 "type": "doctype",
Basawaraj Savalagi09bafc62019-05-13 14:59:19 +053039 "name": "Blanket Order",
40 "description": _("Blanket Orders from Costumers."),
41 "onboard": 1,
42 "dependencies": ["Item", "Customer"],
43 },
44 {
45 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053046 "name": "Sales Partner",
47 "description": _("Manage Sales Partners."),
48 "dependencies": ["Item"],
49 },
50 {
51 "type": "doctype",
52 "label": _("Sales Person"),
53 "name": "Sales Person",
54 "icon": "fa fa-sitemap",
55 "link": "Tree/Sales Person",
56 "description": _("Manage Sales Person Tree."),
57 "dependencies": ["Item", "Customer"],
58 },
59 {
60 "type": "report",
61 "is_query_report": True,
Prateeksha Singh063af4e2019-02-06 17:02:41 +053062 "name": "Territory Target Variance (Item Group-Wise)",
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053063 "route": "#query-report/Territory Target Variance Item Group-Wise",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053064 "doctype": "Territory",
65 },
66 {
67 "type": "report",
68 "is_query_report": True,
69 "name": "Sales Person Target Variance (Item Group-Wise)",
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053070 "route": "#query-report/Sales Person Target Variance Item Group-Wise",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053071 "doctype": "Sales Person",
72 "dependencies": ["Sales Person"],
Anand Doshi08ef4672014-05-08 11:43:18 +053073 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053074 ]
75 },
76 {
Prateeksha Singh063af4e2019-02-06 17:02:41 +053077 "label": _("Items and Pricing"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053078 "items": [
79 {
80 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053081 "name": "Item",
82 "description": _("All Products or Services."),
83 "onboard": 1,
84 },
85 {
86 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053087 "name": "Item Price",
88 "description": _("Multiple Item prices."),
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053089 "route": "#Report/Item Price",
Prateeksha Singh34234072019-02-07 09:18:24 +053090 "dependencies": ["Item", "Price List"],
91 "onboard": 1,
92 },
93 {
94 "type": "doctype",
95 "name": "Price List",
96 "description": _("Price List master."),
97 "onboard": 1,
98 },
99 {
100 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530101 "name": "Item Group",
102 "icon": "fa fa-sitemap",
103 "label": _("Item Group"),
104 "link": "Tree/Item Group",
105 "description": _("Tree of Item Groups."),
106 "onboard": 1,
107 },
108 {
109 "type": "doctype",
110 "name": "Product Bundle",
111 "description": _("Bundle items at time of sale."),
112 "dependencies": ["Item"],
113 },
114 {
115 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530116 "name": "Pricing Rule",
117 "description": _("Rules for applying pricing and discount."),
118 "dependencies": ["Item"],
119 },
120 {
121 "type": "doctype",
122 "name": "Shipping Rule",
123 "description": _("Rules for adding shipping costs."),
124 },
125
126 ]
127 },
128 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530129 "label": _("Settings"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530130 "icon": "fa fa-cog",
131 "items": [
132 {
133 "type": "doctype",
134 "name": "Selling Settings",
135 "description": _("Default settings for selling transactions."),
Prateeksha Singh8aa45942019-03-04 14:00:02 +0530136 "settings": 1,
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530137 },
138 {
139 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530140 "name":"Terms and Conditions",
141 "label": _("Terms and Conditions Template"),
Prateeksha Singh34234072019-02-07 09:18:24 +0530142 "description": _("Template of terms or contract."),
143 "onboard": 1,
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530144 },
145 {
146 "type": "doctype",
147 "name": "Sales Taxes and Charges Template",
Prateeksha Singh34234072019-02-07 09:18:24 +0530148 "description": _("Tax template for selling transactions."),
149 "onboard": 1,
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530150 },
151 {
152 "type": "doctype",
153 "name": "Lead Source",
154 "description": _("Track Leads by Lead Source.")
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530155 },
156 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530157 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530158 "label": _("Customer Group"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530159 "name": "Customer Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530160 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530161 "link": "Tree/Customer Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530162 "description": _("Manage Customer Group Tree."),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530163 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530164 {
165 "type": "doctype",
166 "name": "Contact",
167 "description": _("All Contacts."),
168 },
169 {
170 "type": "doctype",
171 "name": "Address",
172 "description": _("All Addresses."),
173 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530174 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530175 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530176 "label": _("Territory"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530177 "name": "Territory",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530178 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530179 "link": "Tree/Territory",
Anand Doshi08ef4672014-05-08 11:43:18 +0530180 "description": _("Manage Territory Tree."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530181 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530182 {
183 "type": "doctype",
184 "name": "Campaign",
185 "description": _("Sales campaigns."),
186 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530187 ]
188 },
189 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530190 "label": _("Key Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530191 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530192 "items": [
193 {
Deepesh Garg67142142018-11-12 16:15:54 +0530194 "type": "report",
195 "is_query_report": True,
196 "name": "Sales Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530197 "doctype": "Sales Order",
198 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530199 },
200 {
201 "type": "page",
202 "name": "sales-funnel",
203 "label": _("Sales Funnel"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530204 "icon": "fa fa-bar-chart",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530205 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530206 },
207 {
208 "type": "report",
209 "is_query_report": True,
210 "name": "Customer Acquisition and Loyalty",
211 "doctype": "Customer",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530212 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530213 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530214 {
215 "type": "report",
216 "is_query_report": True,
Prateeksha Singh34234072019-02-07 09:18:24 +0530217 "name": "Inactive Customers",
218 "doctype": "Sales Order"
219 },
220 {
221 "type": "report",
222 "is_query_report": True,
223 "name": "Ordered Items To Be Delivered",
224 "doctype": "Sales Order"
225 },
226 {
227 "type": "report",
228 "is_query_report": True,
229 "name": "Sales Person-wise Transaction Summary",
230 "doctype": "Sales Order"
231 },
232 {
233 "type": "report",
234 "is_query_report": True,
235 "name": "Item-wise Sales History",
236 "doctype": "Item"
237 },
238 {
239 "type": "report",
240 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530241 "name": "Quotation Trends",
242 "doctype": "Quotation"
243 },
244 {
245 "type": "report",
246 "is_query_report": True,
247 "name": "Sales Order Trends",
248 "doctype": "Sales Order"
249 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530250 ]
251 },
252 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530253 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530254 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530255 "items": [
256 {
257 "type": "report",
258 "is_query_report": True,
259 "name": "Lead Details",
260 "doctype": "Lead"
261 },
262 {
263 "type": "report",
264 "is_query_report": True,
Shreya Shah51034542018-06-05 10:44:36 +0530265 "name": "Address And Contacts",
ahmadRagheb9017f372017-06-07 17:38:39 +0300266 "label": _("Customer Addresses And Contacts"),
mbauskarcbc49e22017-01-19 17:45:22 +0530267 "doctype": "Address",
268 "route_options": {
269 "party_type": "Customer"
270 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530271 },
272 {
273 "type": "report",
274 "is_query_report": True,
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530275 "name": "BOM Search",
276 "doctype": "BOM"
277 },
278 {
279 "type": "report",
280 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530281 "name": "Available Stock for Packing Items",
282 "doctype": "Item",
283 },
284 {
285 "type": "report",
286 "is_query_report": True,
287 "name": "Pending SO Items For Purchase Request",
288 "doctype": "Sales Order"
289 },
Nabin Hait7dbcee82014-10-30 15:49:17 +0530290 {
291 "type": "report",
292 "is_query_report": True,
293 "name": "Customer Credit Balance",
294 "doctype": "Customer"
295 },
Nabin Hait19ce9042018-05-21 11:07:04 +0530296 {
297 "type": "report",
298 "is_query_report": True,
299 "name": "Customers Without Any Sales Transactions",
300 "doctype": "Customer"
301 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530302 ]
303 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530304 {
305 "label": _("Help"),
306 "items": [
307 {
308 "type": "help",
309 "label": _("Customer and Supplier"),
310 "youtube_id": "anoGi_RpQ20"
311 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530312 {
313 "type": "help",
314 "label": _("Sales Order to Payment"),
Rushabh Mehtad562e952019-03-22 14:46:12 +0530315 "youtube_id": "1eP90MWoDQM"
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530316 },
317 {
318 "type": "help",
319 "label": _("Point-of-Sale"),
320 "youtube_id": "4WkelWkbP_c"
321 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530322 ]
323 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530324 ]