blob: e3b8d82c3591a4aed0c1238601de84cbf69b6c3d [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",
rohitwaghchaure4e8fdf72018-02-22 11:03:48 +0530168 "name": "Quality Inspection Template",
169 },
170 {
171 "type": "doctype",
Nabin Hait12ce3ee2014-09-01 18:14:44 +0530172 "name": "Landed Cost Voucher",
Neil Trini Lasrado62dba502015-08-10 15:51:13 +0530173 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530174 ]
175 },
176 {
177 "label": _("Setup"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530178 "icon": "fa fa-cog",
Anand Doshi08ef4672014-05-08 11:43:18 +0530179 "items": [
180 {
181 "type": "doctype",
182 "name": "Stock Settings",
Anand Doshi08ef4672014-05-08 11:43:18 +0530183 },
184 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530185 "type": "doctype",
186 "name": "Warehouse",
Anand Doshi08ef4672014-05-08 11:43:18 +0530187 },
188 {
189 "type": "doctype",
190 "name": "UOM",
191 "label": _("Unit of Measure") + " (UOM)",
Anand Doshi08ef4672014-05-08 11:43:18 +0530192 },
193 {
194 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530195 "name": "Item Attribute",
Anand Doshi08ef4672014-05-08 11:43:18 +0530196 },
197 {
198 "type": "doctype",
199 "name": "Brand",
Rushabh Mehtacc1262c2017-11-14 16:36:25 +0530200 },
201 {
202 "type": "doctype",
203 "name": "Item Variant Settings",
Anand Doshi08ef4672014-05-08 11:43:18 +0530204 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530205 ]
206 },
207 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530208 "label": _("Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530209 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530210 "items": [
211 {
212 "type": "report",
Anand Doshib527e542014-06-09 18:08:46 +0530213 "is_query_report": False,
Anand Doshi08ef4672014-05-08 11:43:18 +0530214 "name": "Item-wise Price List Rate",
215 "doctype": "Item Price",
216 },
217 {
218 "type": "page",
219 "name": "stock-analytics",
220 "label": _("Stock Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530221 "icon": "fa fa-bar-chart"
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530222 },
223 {
224 "type": "report",
225 "is_query_report": True,
226 "name": "Delivery Note Trends",
227 "doctype": "Delivery Note"
228 },
229 {
230 "type": "report",
231 "is_query_report": True,
232 "name": "Purchase Receipt Trends",
233 "doctype": "Purchase Receipt"
234 },
235
Anand Doshi08ef4672014-05-08 11:43:18 +0530236 ]
237 },
238 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530239 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530240 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530241 "items": [
242 {
243 "type": "report",
244 "is_query_report": True,
245 "name": "Ordered Items To Be Delivered",
246 "doctype": "Delivery Note"
247 },
248 {
249 "type": "report",
250 "is_query_report": True,
251 "name": "Purchase Order Items To Be Received",
252 "doctype": "Purchase Receipt"
253 },
254 {
255 "type": "report",
256 "name": "Item Shortage Report",
257 "route": "Report/Bin/Item Shortage Report",
258 "doctype": "Purchase Receipt"
259 },
260 {
261 "type": "report",
Anand Doshi08ef4672014-05-08 11:43:18 +0530262 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530263 "name": "Requested Items To Be Transferred",
264 "doctype": "Material Request"
265 },
266 {
267 "type": "report",
268 "is_query_report": True,
269 "name": "Batch-Wise Balance History",
270 "doctype": "Batch"
271 },
272 {
273 "type": "report",
274 "is_query_report": True,
Revant Nandgaonkar0766d3e2016-12-21 12:32:12 +0530275 "name": "Batch Item Expiry Status",
276 "doctype": "Stock Ledger Entry"
277 },
278 {
279 "type": "report",
280 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530281 "name": "Item Prices",
282 "doctype": "Price List"
283 },
284 {
285 "type": "report",
286 "is_query_report": True,
287 "name": "Itemwise Recommended Reorder Level",
288 "doctype": "Item"
289 },
Prateeksha Singh744ff002017-11-17 12:00:29 +0530290 {
291 "type": "report",
292 "is_query_report": True,
293 "name": "Item Variant Details",
294 "doctype": "Item"
295 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530296 ]
297 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530298 {
299 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530300 "icon": "fa fa-facetime-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530301 "items": [
302 {
303 "type": "help",
304 "label": _("Items and Pricing"),
305 "youtube_id": "qXaEwld4_Ps"
306 },
307 {
308 "type": "help",
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530309 "label": _("Item Variants"),
310 "youtube_id": "OGBETlCzU5o"
311 },
312 {
313 "type": "help",
Rushabh Mehta67712402015-05-25 18:30:53 +0530314 "label": _("Opening Stock Balance"),
Nabin Hait89085432015-05-29 16:26:07 +0530315 "youtube_id": "0yPgrtfeCTs"
Rushabh Mehta67712402015-05-25 18:30:53 +0530316 },
317 {
318 "type": "help",
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530319 "label": _("Making Stock Entries"),
320 "youtube_id": "Njt107hlY3I"
321 },
322 {
323 "type": "help",
324 "label": _("Serialized Inventory"),
325 "youtube_id": "gvOVlEwFDAk"
326 },
327 {
328 "type": "help",
329 "label": _("Batch Inventory"),
330 "youtube_id": "J0QKl7ABPKM"
331 },
332 {
333 "type": "help",
334 "label": _("Managing Subcontracting"),
335 "youtube_id": "ThiMCC2DtKo"
Rushabh Mehta67712402015-05-25 18:30:53 +0530336 },
337 ]
338 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530339 ]