blob: c5a372b945fb467bc14abde06811fc35fa0403c0 [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",
Anand Doshi08ef4672014-05-08 11:43:18 +053012 },
13 {
14 "type": "doctype",
15 "name": "Delivery Note",
Anand Doshi08ef4672014-05-08 11:43:18 +053016 },
17 {
18 "type": "doctype",
19 "name": "Purchase Receipt",
Anand Doshi08ef4672014-05-08 11:43:18 +053020 },
21 {
22 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053023 "name": "Material Request",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053024 },
25 ]
26 },
27 {
28 "label": _("Stock Reports"),
29 "items": [
30 {
31 "type": "report",
32 "is_query_report": True,
33 "name": "Stock Ledger",
34 "doctype": "Stock Ledger Entry",
35 },
36 {
37 "type": "report",
38 "is_query_report": True,
39 "name": "Stock Balance",
40 "doctype": "Stock Ledger Entry"
41 },
42 {
43 "type": "report",
44 "is_query_report": True,
45 "name": "Stock Projected Qty",
46 "doctype": "Item",
47 },
48 {
Rushabh Mehta37146262017-02-01 18:17:35 +053049 "type": "page",
50 "name": "stock-balance",
51 "label": _("Stock Summary")
52 },
53 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053054 "type": "report",
55 "is_query_report": True,
56 "name": "Stock Ageing",
57 "doctype": "Item",
58 },
Pawan Mehtabb7fab52017-12-12 15:05:03 +053059 {
60 "type": "report",
61 "is_query_report": True,
62 "name": "Item Price Stock",
63 "doctype": "Item",
64 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053065 ]
66 },
67 {
68 "label": _("Items and Pricing"),
69 "items": [
70 {
71 "type": "doctype",
72 "name": "Item",
Nabin Hait996a1012014-09-23 14:53:30 +053073 },
74 {
75 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053076 "name": "Product Bundle",
Anand Doshi08ef4672014-05-08 11:43:18 +053077 },
78 {
79 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053080 "name": "Price List",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053081 },
82 {
Saurabh52ec0ed2016-07-05 18:02:38 +053083 "type": "doctype",
84 "name": "Item Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053085 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053086 "label": _("Item Group"),
Saurabh17022732016-06-21 13:19:17 +053087 "link": "Tree/Item Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053088 },
89 {
90 "type": "doctype",
91 "name": "Item Price",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053092 "route": "Report/Item Price"
93 },
94 {
95 "type": "doctype",
96 "name": "Shipping Rule",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053097 },
98 {
99 "type": "doctype",
100 "name": "Pricing Rule",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530101 },
Rohit Waghchaure0e28fcc2017-08-29 18:15:57 +0530102 {
103 "type": "doctype",
104 "name": "Item Variant Settings",
Rohit Waghchaure0e28fcc2017-08-29 18:15:57 +0530105 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530106 ]
107 },
108 {
109 "label": _("Serial No and Batch"),
110 "items": [
111 {
112 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530113 "name": "Serial No",
Anand Doshi08ef4672014-05-08 11:43:18 +0530114 },
115 {
116 "type": "doctype",
117 "name": "Batch",
Anand Doshi08ef4672014-05-08 11:43:18 +0530118 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530119 {
120 "type": "doctype",
121 "name": "Installation Note",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530122 },
123 {
124 "type": "report",
125 "name": "Serial No Service Contract Expiry",
126 "doctype": "Serial No"
127 },
128 {
129 "type": "report",
130 "name": "Serial No Status",
131 "doctype": "Serial No"
132 },
133 {
134 "type": "report",
135 "name": "Serial No Warranty Expiry",
136 "doctype": "Serial No"
137 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530138 ]
139 },
140 {
creamdoryfd1503c2017-11-08 10:58:09 +0800141 "label": _("Fulfilment"),
142 "items": [
143 {
144 "type": "doctype",
145 "name": "Delivery Trip",
146 "description": _("Delivery Trip service tours to customers.")
147 }
148 ]
149 },
150 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530151 "label": _("Tools"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530152 "icon": "fa fa-wrench",
Anand Doshi08ef4672014-05-08 11:43:18 +0530153 "items": [
154 {
155 "type": "doctype",
156 "name": "Stock Reconciliation",
Anand Doshi08ef4672014-05-08 11:43:18 +0530157 },
158 {
159 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +0530160 "name": "Packing Slip",
Anand Doshi08ef4672014-05-08 11:43:18 +0530161 },
162 {
163 "type": "doctype",
164 "name": "Quality Inspection",
Anand Doshi08ef4672014-05-08 11:43:18 +0530165 },
166 {
167 "type": "doctype",
Nabin Hait12ce3ee2014-09-01 18:14:44 +0530168 "name": "Landed Cost Voucher",
Neil Trini Lasrado62dba502015-08-10 15:51:13 +0530169 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530170 ]
171 },
172 {
173 "label": _("Setup"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530174 "icon": "fa fa-cog",
Anand Doshi08ef4672014-05-08 11:43:18 +0530175 "items": [
176 {
177 "type": "doctype",
178 "name": "Stock Settings",
Anand Doshi08ef4672014-05-08 11:43:18 +0530179 },
180 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530181 "type": "doctype",
182 "name": "Warehouse",
Anand Doshi08ef4672014-05-08 11:43:18 +0530183 },
184 {
185 "type": "doctype",
186 "name": "UOM",
187 "label": _("Unit of Measure") + " (UOM)",
Anand Doshi08ef4672014-05-08 11:43:18 +0530188 },
189 {
190 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530191 "name": "Item Attribute",
Anand Doshi08ef4672014-05-08 11:43:18 +0530192 },
193 {
194 "type": "doctype",
195 "name": "Brand",
Rushabh Mehtacc1262c2017-11-14 16:36:25 +0530196 },
197 {
198 "type": "doctype",
199 "name": "Item Variant Settings",
Anand Doshi08ef4672014-05-08 11:43:18 +0530200 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530201 ]
202 },
203 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530204 "label": _("Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530205 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530206 "items": [
207 {
208 "type": "report",
Anand Doshib527e542014-06-09 18:08:46 +0530209 "is_query_report": False,
Anand Doshi08ef4672014-05-08 11:43:18 +0530210 "name": "Item-wise Price List Rate",
211 "doctype": "Item Price",
212 },
213 {
214 "type": "page",
215 "name": "stock-analytics",
216 "label": _("Stock Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530217 "icon": "fa fa-bar-chart"
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530218 },
219 {
220 "type": "report",
221 "is_query_report": True,
222 "name": "Delivery Note Trends",
223 "doctype": "Delivery Note"
224 },
225 {
226 "type": "report",
227 "is_query_report": True,
228 "name": "Purchase Receipt Trends",
229 "doctype": "Purchase Receipt"
230 },
231
Anand Doshi08ef4672014-05-08 11:43:18 +0530232 ]
233 },
234 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530235 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530236 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530237 "items": [
238 {
239 "type": "report",
240 "is_query_report": True,
241 "name": "Ordered Items To Be Delivered",
242 "doctype": "Delivery Note"
243 },
244 {
245 "type": "report",
246 "is_query_report": True,
247 "name": "Purchase Order Items To Be Received",
248 "doctype": "Purchase Receipt"
249 },
250 {
251 "type": "report",
252 "name": "Item Shortage Report",
253 "route": "Report/Bin/Item Shortage Report",
254 "doctype": "Purchase Receipt"
255 },
256 {
257 "type": "report",
Anand Doshi08ef4672014-05-08 11:43:18 +0530258 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530259 "name": "Requested Items To Be Transferred",
260 "doctype": "Material Request"
261 },
262 {
263 "type": "report",
264 "is_query_report": True,
265 "name": "Batch-Wise Balance History",
266 "doctype": "Batch"
267 },
268 {
269 "type": "report",
270 "is_query_report": True,
Revant Nandgaonkar0766d3e2016-12-21 12:32:12 +0530271 "name": "Batch Item Expiry Status",
272 "doctype": "Stock Ledger Entry"
273 },
274 {
275 "type": "report",
276 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530277 "name": "Item Prices",
278 "doctype": "Price List"
279 },
280 {
281 "type": "report",
282 "is_query_report": True,
283 "name": "Itemwise Recommended Reorder Level",
284 "doctype": "Item"
285 },
Prateeksha Singh744ff002017-11-17 12:00:29 +0530286 {
287 "type": "report",
288 "is_query_report": True,
289 "name": "Item Variant Details",
290 "doctype": "Item"
291 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530292 ]
293 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530294 {
295 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530296 "icon": "fa fa-facetime-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530297 "items": [
298 {
299 "type": "help",
300 "label": _("Items and Pricing"),
301 "youtube_id": "qXaEwld4_Ps"
302 },
303 {
304 "type": "help",
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530305 "label": _("Item Variants"),
306 "youtube_id": "OGBETlCzU5o"
307 },
308 {
309 "type": "help",
Rushabh Mehta67712402015-05-25 18:30:53 +0530310 "label": _("Opening Stock Balance"),
Nabin Hait89085432015-05-29 16:26:07 +0530311 "youtube_id": "0yPgrtfeCTs"
Rushabh Mehta67712402015-05-25 18:30:53 +0530312 },
313 {
314 "type": "help",
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530315 "label": _("Making Stock Entries"),
316 "youtube_id": "Njt107hlY3I"
317 },
318 {
319 "type": "help",
320 "label": _("Serialized Inventory"),
321 "youtube_id": "gvOVlEwFDAk"
322 },
323 {
324 "type": "help",
325 "label": _("Batch Inventory"),
326 "youtube_id": "J0QKl7ABPKM"
327 },
328 {
329 "type": "help",
330 "label": _("Managing Subcontracting"),
331 "youtube_id": "ThiMCC2DtKo"
Rushabh Mehta67712402015-05-25 18:30:53 +0530332 },
333 ]
334 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530335 ]