blob: 400f6be826adba6bf2a88d8791186767ed12866f [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",
13 "description": _("Customer database."),
14 "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",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053039 "name": "Sales Partner",
40 "description": _("Manage Sales Partners."),
41 "dependencies": ["Item"],
42 },
43 {
44 "type": "doctype",
45 "label": _("Sales Person"),
46 "name": "Sales Person",
47 "icon": "fa fa-sitemap",
48 "link": "Tree/Sales Person",
49 "description": _("Manage Sales Person Tree."),
50 "dependencies": ["Item", "Customer"],
51 },
52 {
53 "type": "report",
54 "is_query_report": True,
Prateeksha Singh063af4e2019-02-06 17:02:41 +053055 "name": "Territory Target Variance (Item Group-Wise)",
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053056 "route": "#query-report/Territory Target Variance Item Group-Wise",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053057 "doctype": "Territory",
58 },
59 {
60 "type": "report",
61 "is_query_report": True,
62 "name": "Sales Person Target Variance (Item Group-Wise)",
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053063 "route": "#query-report/Sales Person Target Variance Item Group-Wise",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053064 "doctype": "Sales Person",
65 "dependencies": ["Sales Person"],
Anand Doshi08ef4672014-05-08 11:43:18 +053066 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053067 ]
68 },
69 {
Prateeksha Singh063af4e2019-02-06 17:02:41 +053070 "label": _("Items and Pricing"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053071 "items": [
72 {
73 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053074 "name": "Item",
75 "description": _("All Products or Services."),
76 "onboard": 1,
77 },
78 {
79 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053080 "name": "Item Price",
81 "description": _("Multiple Item prices."),
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053082 "route": "#Report/Item Price",
Prateeksha Singh34234072019-02-07 09:18:24 +053083 "dependencies": ["Item", "Price List"],
84 "onboard": 1,
85 },
86 {
87 "type": "doctype",
88 "name": "Price List",
89 "description": _("Price List master."),
90 "onboard": 1,
91 },
92 {
93 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053094 "name": "Item Group",
95 "icon": "fa fa-sitemap",
96 "label": _("Item Group"),
97 "link": "Tree/Item Group",
98 "description": _("Tree of Item Groups."),
99 "onboard": 1,
100 },
101 {
102 "type": "doctype",
103 "name": "Product Bundle",
104 "description": _("Bundle items at time of sale."),
105 "dependencies": ["Item"],
106 },
107 {
108 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530109 "name": "Pricing Rule",
110 "description": _("Rules for applying pricing and discount."),
111 "dependencies": ["Item"],
112 },
113 {
114 "type": "doctype",
115 "name": "Shipping Rule",
116 "description": _("Rules for adding shipping costs."),
117 },
118
119 ]
120 },
121 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530122 "label": _("Settings"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530123 "icon": "fa fa-cog",
124 "items": [
125 {
126 "type": "doctype",
127 "name": "Selling Settings",
128 "description": _("Default settings for selling transactions."),
Prateeksha Singh8aa45942019-03-04 14:00:02 +0530129 "settings": 1,
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530130 },
131 {
132 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530133 "name":"Terms and Conditions",
134 "label": _("Terms and Conditions Template"),
Prateeksha Singh34234072019-02-07 09:18:24 +0530135 "description": _("Template of terms or contract."),
136 "onboard": 1,
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530137 },
138 {
139 "type": "doctype",
140 "name": "Sales Taxes and Charges Template",
Prateeksha Singh34234072019-02-07 09:18:24 +0530141 "description": _("Tax template for selling transactions."),
142 "onboard": 1,
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530143 },
144 {
145 "type": "doctype",
146 "name": "Lead Source",
147 "description": _("Track Leads by Lead Source.")
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530148 },
149 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530150 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530151 "label": _("Customer Group"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530152 "name": "Customer Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530153 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530154 "link": "Tree/Customer Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530155 "description": _("Manage Customer Group Tree."),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530156 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530157 {
158 "type": "doctype",
159 "name": "Contact",
160 "description": _("All Contacts."),
161 },
162 {
163 "type": "doctype",
164 "name": "Address",
165 "description": _("All Addresses."),
166 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530167 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530168 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530169 "label": _("Territory"),
Saurabh52ec0ed2016-07-05 18:02:38 +0530170 "name": "Territory",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530171 "icon": "fa fa-sitemap",
Saurabh17022732016-06-21 13:19:17 +0530172 "link": "Tree/Territory",
Anand Doshi08ef4672014-05-08 11:43:18 +0530173 "description": _("Manage Territory Tree."),
Anand Doshi08ef4672014-05-08 11:43:18 +0530174 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530175 {
176 "type": "doctype",
177 "name": "Campaign",
178 "description": _("Sales campaigns."),
179 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530180 ]
181 },
182 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530183 "label": _("Key Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530184 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530185 "items": [
186 {
Deepesh Garg67142142018-11-12 16:15:54 +0530187 "type": "report",
188 "is_query_report": True,
189 "name": "Sales Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530190 "doctype": "Sales Order",
191 "onboard": 1,
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",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530198 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530199 },
200 {
201 "type": "report",
202 "is_query_report": True,
203 "name": "Customer Acquisition and Loyalty",
204 "doctype": "Customer",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530205 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530206 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530207 {
208 "type": "report",
209 "is_query_report": True,
Prateeksha Singh34234072019-02-07 09:18:24 +0530210 "name": "Inactive Customers",
211 "doctype": "Sales Order"
212 },
213 {
214 "type": "report",
215 "is_query_report": True,
216 "name": "Ordered Items To Be Delivered",
217 "doctype": "Sales Order"
218 },
219 {
220 "type": "report",
221 "is_query_report": True,
222 "name": "Sales Person-wise Transaction Summary",
223 "doctype": "Sales Order"
224 },
225 {
226 "type": "report",
227 "is_query_report": True,
228 "name": "Item-wise Sales History",
229 "doctype": "Item"
230 },
231 {
232 "type": "report",
233 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530234 "name": "Quotation Trends",
235 "doctype": "Quotation"
236 },
237 {
238 "type": "report",
239 "is_query_report": True,
240 "name": "Sales Order Trends",
241 "doctype": "Sales Order"
242 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530243 ]
244 },
245 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530246 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530247 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530248 "items": [
249 {
250 "type": "report",
251 "is_query_report": True,
252 "name": "Lead Details",
253 "doctype": "Lead"
254 },
255 {
256 "type": "report",
257 "is_query_report": True,
Shreya Shah51034542018-06-05 10:44:36 +0530258 "name": "Address And Contacts",
ahmadRagheb9017f372017-06-07 17:38:39 +0300259 "label": _("Customer Addresses And Contacts"),
mbauskarcbc49e22017-01-19 17:45:22 +0530260 "doctype": "Address",
261 "route_options": {
262 "party_type": "Customer"
263 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530264 },
265 {
266 "type": "report",
267 "is_query_report": True,
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530268 "name": "BOM Search",
269 "doctype": "BOM"
270 },
271 {
272 "type": "report",
273 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530274 "name": "Available Stock for Packing Items",
275 "doctype": "Item",
276 },
277 {
278 "type": "report",
279 "is_query_report": True,
280 "name": "Pending SO Items For Purchase Request",
281 "doctype": "Sales Order"
282 },
Nabin Hait7dbcee82014-10-30 15:49:17 +0530283 {
284 "type": "report",
285 "is_query_report": True,
286 "name": "Customer Credit Balance",
287 "doctype": "Customer"
288 },
Nabin Hait19ce9042018-05-21 11:07:04 +0530289 {
290 "type": "report",
291 "is_query_report": True,
292 "name": "Customers Without Any Sales Transactions",
293 "doctype": "Customer"
294 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530295 ]
296 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530297 {
298 "label": _("Help"),
299 "items": [
300 {
301 "type": "help",
302 "label": _("Customer and Supplier"),
303 "youtube_id": "anoGi_RpQ20"
304 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530305 {
306 "type": "help",
307 "label": _("Sales Order to Payment"),
Rushabh Mehtad562e952019-03-22 14:46:12 +0530308 "youtube_id": "1eP90MWoDQM"
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530309 },
310 {
311 "type": "help",
312 "label": _("Point-of-Sale"),
313 "youtube_id": "4WkelWkbP_c"
314 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530315 ]
316 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530317 ]