blob: 441a3ab4ec3511ad0ec96a30610dc0ead921ed37 [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": _("Stock Transactions"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "items": [
9 {
10 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053011 "name": "Stock Entry",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053012 "onboard": 1,
13 "dependencies": ["Item"],
Anand Doshi08ef4672014-05-08 11:43:18 +053014 },
15 {
16 "type": "doctype",
17 "name": "Delivery Note",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053018 "onboard": 1,
19 "dependencies": ["Item", "Customer"],
Anand Doshi08ef4672014-05-08 11:43:18 +053020 },
21 {
22 "type": "doctype",
23 "name": "Purchase Receipt",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053024 "onboard": 1,
25 "dependencies": ["Item", "Supplier"],
Anand Doshi08ef4672014-05-08 11:43:18 +053026 },
27 {
28 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053029 "name": "Material Request",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053030 "onboard": 1,
31 "dependencies": ["Item"],
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053032 },
Prateeksha Singh34234072019-02-07 09:18:24 +053033 {
34 "type": "doctype",
Suraj Shettybe0ae7a2019-08-28 12:40:26 +053035 "name": "Pick List",
36 "onboard": 1,
37 "dependencies": ["Item"],
38 },
39 {
40 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053041 "name": "Delivery Trip"
42 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053043 ]
44 },
45 {
46 "label": _("Stock Reports"),
47 "items": [
48 {
49 "type": "report",
50 "is_query_report": True,
51 "name": "Stock Ledger",
52 "doctype": "Stock Ledger Entry",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053053 "onboard": 1,
54 "dependencies": ["Item"],
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053055 },
56 {
57 "type": "report",
58 "is_query_report": True,
59 "name": "Stock Balance",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053060 "doctype": "Stock Ledger Entry",
61 "onboard": 1,
62 "dependencies": ["Item"],
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053063 },
64 {
65 "type": "report",
66 "is_query_report": True,
67 "name": "Stock Projected Qty",
68 "doctype": "Item",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053069 "onboard": 1,
70 "dependencies": ["Item"],
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053071 },
72 {
Rushabh Mehta37146262017-02-01 18:17:35 +053073 "type": "page",
74 "name": "stock-balance",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053075 "label": _("Stock Summary"),
76 "dependencies": ["Item"],
Rushabh Mehta37146262017-02-01 18:17:35 +053077 },
78 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053079 "type": "report",
80 "is_query_report": True,
81 "name": "Stock Ageing",
82 "doctype": "Item",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053083 "dependencies": ["Item"],
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053084 },
Pawan Mehtabb7fab52017-12-12 15:05:03 +053085 {
86 "type": "report",
87 "is_query_report": True,
88 "name": "Item Price Stock",
89 "doctype": "Item",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053090 "dependencies": ["Item"],
Pawan Mehtabb7fab52017-12-12 15:05:03 +053091 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053092 ]
93 },
94 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +053095 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +053096 "icon": "fa fa-cog",
97 "items": [
98 {
99 "type": "doctype",
100 "name": "Stock Settings",
101 "onboard": 1,
102 },
103 {
104 "type": "doctype",
105 "name": "Warehouse",
106 "onboard": 1,
107 },
108 {
109 "type": "doctype",
110 "name": "UOM",
111 "label": _("Unit of Measure") + " (UOM)",
112 "onboard": 1,
113 },
114 {
115 "type": "doctype",
116 "name": "Brand",
117 "onboard": 1,
118 },
119 {
120 "type": "doctype",
121 "name": "Item Attribute",
122 },
123 {
124 "type": "doctype",
125 "name": "Item Variant Settings",
126 },
127 ]
128 },
129 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530130 "label": _("Items and Pricing"),
131 "items": [
132 {
133 "type": "doctype",
134 "name": "Item",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530135 "onboard": 1,
rohitwaghchaurea3c3dec2018-03-28 11:51:44 +0530136 },
137 {
138 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530139 "name": "Product Bundle",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530140 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530141 },
142 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530143 "type": "doctype",
144 "name": "Item Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530145 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530146 "label": _("Item Group"),
Saurabh17022732016-06-21 13:19:17 +0530147 "link": "Tree/Item Group",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530148 "onboard": 1,
149 },
150 {
151 "type": "doctype",
152 "name": "Price List",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530153 },
154 {
155 "type": "doctype",
156 "name": "Item Price",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530157 },
158 {
159 "type": "doctype",
160 "name": "Shipping Rule",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530161 },
162 {
163 "type": "doctype",
164 "name": "Pricing Rule",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530165 },
Rohit Waghchaure0e28fcc2017-08-29 18:15:57 +0530166 {
167 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530168 "name": "Item Alternative",
169 },
170 {
171 "type": "doctype",
Rohit Waghchaure3cf24362019-06-02 16:03:05 +0530172 "name": "Item Manufacturer",
173 },
174 {
175 "type": "doctype",
Rohit Waghchaure0e28fcc2017-08-29 18:15:57 +0530176 "name": "Item Variant Settings",
Rohit Waghchaure0e28fcc2017-08-29 18:15:57 +0530177 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530178 ]
179 },
180 {
181 "label": _("Serial No and Batch"),
182 "items": [
183 {
184 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530185 "name": "Serial No",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530186 "onboard": 1,
187 "dependencies": ["Item"],
Anand Doshi08ef4672014-05-08 11:43:18 +0530188 },
189 {
190 "type": "doctype",
191 "name": "Batch",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530192 "onboard": 1,
193 "dependencies": ["Item"],
Anand Doshi08ef4672014-05-08 11:43:18 +0530194 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530195 {
196 "type": "doctype",
197 "name": "Installation Note",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530198 "dependencies": ["Item"],
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530199 },
200 {
201 "type": "report",
202 "name": "Serial No Service Contract Expiry",
203 "doctype": "Serial No"
204 },
205 {
206 "type": "report",
207 "name": "Serial No Status",
208 "doctype": "Serial No"
209 },
210 {
211 "type": "report",
212 "name": "Serial No Warranty Expiry",
213 "doctype": "Serial No"
214 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530215 ]
216 },
217 {
218 "label": _("Tools"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530219 "icon": "fa fa-wrench",
Anand Doshi08ef4672014-05-08 11:43:18 +0530220 "items": [
221 {
222 "type": "doctype",
223 "name": "Stock Reconciliation",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530224 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530225 },
226 {
227 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530228 "name": "Landed Cost Voucher",
229 "onboard": 1,
230 },
231 {
232 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530233 "name": "Packing Slip",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530234 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530235 },
236 {
237 "type": "doctype",
238 "name": "Quality Inspection",
Anand Doshi08ef4672014-05-08 11:43:18 +0530239 },
240 {
241 "type": "doctype",
rohitwaghchaure4e8fdf72018-02-22 11:03:48 +0530242 "name": "Quality Inspection Template",
243 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530244 ]
245 },
246 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530247 "label": _("Key Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530248 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530249 "items": [
250 {
251 "type": "report",
Anand Doshib527e542014-06-09 18:08:46 +0530252 "is_query_report": False,
Anand Doshi08ef4672014-05-08 11:43:18 +0530253 "name": "Item-wise Price List Rate",
254 "doctype": "Item Price",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530255 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530256 },
257 {
Deepesh Garg84483ff2018-11-12 17:05:31 +0530258 "type": "report",
259 "is_query_report": True,
260 "name": "Stock Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530261 "doctype": "Stock Entry",
262 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530263 },
264 {
265 "type": "report",
266 "is_query_report": True,
267 "name": "Delivery Note Trends",
268 "doctype": "Delivery Note"
269 },
270 {
271 "type": "report",
272 "is_query_report": True,
273 "name": "Purchase Receipt Trends",
274 "doctype": "Purchase Receipt"
275 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530276 {
277 "type": "report",
278 "is_query_report": True,
279 "name": "Ordered Items To Be Delivered",
280 "doctype": "Delivery Note"
281 },
282 {
283 "type": "report",
284 "is_query_report": True,
285 "name": "Purchase Order Items To Be Received",
286 "doctype": "Purchase Receipt"
287 },
288 {
289 "type": "report",
Jignesh Greycube870cbad2019-07-11 13:56:43 +0530290 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530291 "name": "Item Shortage Report",
Jignesh Greycube870cbad2019-07-11 13:56:43 +0530292 "doctype": "Bin"
Anand Doshi08ef4672014-05-08 11:43:18 +0530293 },
294 {
295 "type": "report",
Anand Doshi08ef4672014-05-08 11:43:18 +0530296 "is_query_report": True,
Prateeksha Singh34234072019-02-07 09:18:24 +0530297 "name": "Batch-Wise Balance History",
298 "doctype": "Batch"
Anand Doshi08ef4672014-05-08 11:43:18 +0530299 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530300 ]
301 },
302 {
303 "label": _("Other Reports"),
304 "icon": "fa fa-list",
305 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +0530306 {
307 "type": "report",
308 "is_query_report": True,
Prateeksha Singh34234072019-02-07 09:18:24 +0530309 "name": "Requested Items To Be Transferred",
310 "doctype": "Material Request"
Anand Doshi08ef4672014-05-08 11:43:18 +0530311 },
312 {
313 "type": "report",
314 "is_query_report": True,
Revant Nandgaonkar0766d3e2016-12-21 12:32:12 +0530315 "name": "Batch Item Expiry Status",
316 "doctype": "Stock Ledger Entry"
317 },
318 {
319 "type": "report",
320 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530321 "name": "Item Prices",
322 "doctype": "Price List"
323 },
324 {
325 "type": "report",
326 "is_query_report": True,
327 "name": "Itemwise Recommended Reorder Level",
328 "doctype": "Item"
329 },
Prateeksha Singh744ff002017-11-17 12:00:29 +0530330 {
331 "type": "report",
332 "is_query_report": True,
333 "name": "Item Variant Details",
334 "doctype": "Item"
335 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530336 ]
337 },
Suraj Shettybe0ae7a2019-08-28 12:40:26 +0530338
Anand Doshi08ef4672014-05-08 11:43:18 +0530339 ]