Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 7 | "label": _("Stock Transactions"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 11 | "name": "Stock Entry", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 12 | }, |
| 13 | { |
| 14 | "type": "doctype", |
| 15 | "name": "Delivery Note", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 16 | }, |
| 17 | { |
| 18 | "type": "doctype", |
| 19 | "name": "Purchase Receipt", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 20 | }, |
| 21 | { |
| 22 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 23 | "name": "Material Request", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 24 | }, |
| 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 Mehta | 3714626 | 2017-02-01 18:17:35 +0530 | [diff] [blame] | 49 | "type": "page", |
| 50 | "name": "stock-balance", |
| 51 | "label": _("Stock Summary") |
| 52 | }, |
| 53 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 54 | "type": "report", |
| 55 | "is_query_report": True, |
| 56 | "name": "Stock Ageing", |
| 57 | "doctype": "Item", |
| 58 | }, |
Pawan Mehta | bb7fab5 | 2017-12-12 15:05:03 +0530 | [diff] [blame] | 59 | { |
| 60 | "type": "report", |
| 61 | "is_query_report": True, |
| 62 | "name": "Item Price Stock", |
| 63 | "doctype": "Item", |
| 64 | } |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 65 | ] |
| 66 | }, |
| 67 | { |
| 68 | "label": _("Items and Pricing"), |
| 69 | "items": [ |
| 70 | { |
| 71 | "type": "doctype", |
| 72 | "name": "Item", |
Nabin Hait | 996a101 | 2014-09-23 14:53:30 +0530 | [diff] [blame] | 73 | }, |
| 74 | { |
| 75 | "type": "doctype", |
rohitwaghchaure | a3c3dec | 2018-03-28 11:51:44 +0530 | [diff] [blame] | 76 | "name": "Item Alternative", |
| 77 | }, |
| 78 | { |
| 79 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 80 | "name": "Product Bundle", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 81 | }, |
| 82 | { |
| 83 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 84 | "name": "Price List", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 85 | }, |
| 86 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 87 | "type": "doctype", |
| 88 | "name": "Item Group", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 89 | "icon": "fa fa-sitemap", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 90 | "label": _("Item Group"), |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 91 | "link": "Tree/Item Group", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 92 | }, |
| 93 | { |
| 94 | "type": "doctype", |
| 95 | "name": "Item Price", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 96 | "route": "Report/Item Price" |
| 97 | }, |
| 98 | { |
| 99 | "type": "doctype", |
| 100 | "name": "Shipping Rule", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 101 | }, |
| 102 | { |
| 103 | "type": "doctype", |
| 104 | "name": "Pricing Rule", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 105 | }, |
Rohit Waghchaure | 0e28fcc | 2017-08-29 18:15:57 +0530 | [diff] [blame] | 106 | { |
| 107 | "type": "doctype", |
| 108 | "name": "Item Variant Settings", |
Rohit Waghchaure | 0e28fcc | 2017-08-29 18:15:57 +0530 | [diff] [blame] | 109 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 110 | ] |
| 111 | }, |
| 112 | { |
| 113 | "label": _("Serial No and Batch"), |
| 114 | "items": [ |
| 115 | { |
| 116 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 117 | "name": "Serial No", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 118 | }, |
| 119 | { |
| 120 | "type": "doctype", |
| 121 | "name": "Batch", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 122 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 123 | { |
| 124 | "type": "doctype", |
| 125 | "name": "Installation Note", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 126 | }, |
| 127 | { |
| 128 | "type": "report", |
| 129 | "name": "Serial No Service Contract Expiry", |
| 130 | "doctype": "Serial No" |
| 131 | }, |
| 132 | { |
| 133 | "type": "report", |
| 134 | "name": "Serial No Status", |
| 135 | "doctype": "Serial No" |
| 136 | }, |
| 137 | { |
| 138 | "type": "report", |
| 139 | "name": "Serial No Warranty Expiry", |
| 140 | "doctype": "Serial No" |
| 141 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 142 | ] |
| 143 | }, |
| 144 | { |
creamdory | fd1503c | 2017-11-08 10:58:09 +0800 | [diff] [blame] | 145 | "label": _("Fulfilment"), |
| 146 | "items": [ |
| 147 | { |
| 148 | "type": "doctype", |
| 149 | "name": "Delivery Trip", |
| 150 | "description": _("Delivery Trip service tours to customers.") |
| 151 | } |
| 152 | ] |
| 153 | }, |
| 154 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 155 | "label": _("Tools"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 156 | "icon": "fa fa-wrench", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 157 | "items": [ |
| 158 | { |
| 159 | "type": "doctype", |
| 160 | "name": "Stock Reconciliation", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 161 | }, |
| 162 | { |
| 163 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 164 | "name": "Packing Slip", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 165 | }, |
| 166 | { |
| 167 | "type": "doctype", |
| 168 | "name": "Quality Inspection", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 169 | }, |
| 170 | { |
| 171 | "type": "doctype", |
rohitwaghchaure | 4e8fdf7 | 2018-02-22 11:03:48 +0530 | [diff] [blame] | 172 | "name": "Quality Inspection Template", |
| 173 | }, |
| 174 | { |
| 175 | "type": "doctype", |
Nabin Hait | 12ce3ee | 2014-09-01 18:14:44 +0530 | [diff] [blame] | 176 | "name": "Landed Cost Voucher", |
Neil Trini Lasrado | 62dba50 | 2015-08-10 15:51:13 +0530 | [diff] [blame] | 177 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 178 | ] |
| 179 | }, |
| 180 | { |
| 181 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 182 | "icon": "fa fa-cog", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 183 | "items": [ |
| 184 | { |
| 185 | "type": "doctype", |
| 186 | "name": "Stock Settings", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 187 | }, |
| 188 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 189 | "type": "doctype", |
| 190 | "name": "Warehouse", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 191 | }, |
| 192 | { |
| 193 | "type": "doctype", |
| 194 | "name": "UOM", |
| 195 | "label": _("Unit of Measure") + " (UOM)", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 196 | }, |
| 197 | { |
| 198 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 199 | "name": "Item Attribute", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 200 | }, |
| 201 | { |
| 202 | "type": "doctype", |
| 203 | "name": "Brand", |
Rushabh Mehta | cc1262c | 2017-11-14 16:36:25 +0530 | [diff] [blame] | 204 | }, |
| 205 | { |
| 206 | "type": "doctype", |
| 207 | "name": "Item Variant Settings", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 208 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 209 | ] |
| 210 | }, |
| 211 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 212 | "label": _("Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 213 | "icon": "fa fa-table", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 214 | "items": [ |
| 215 | { |
| 216 | "type": "report", |
Anand Doshi | b527e54 | 2014-06-09 18:08:46 +0530 | [diff] [blame] | 217 | "is_query_report": False, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 218 | "name": "Item-wise Price List Rate", |
| 219 | "doctype": "Item Price", |
| 220 | }, |
| 221 | { |
| 222 | "type": "page", |
| 223 | "name": "stock-analytics", |
| 224 | "label": _("Stock Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 225 | "icon": "fa fa-bar-chart" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 226 | }, |
| 227 | { |
| 228 | "type": "report", |
| 229 | "is_query_report": True, |
| 230 | "name": "Delivery Note Trends", |
| 231 | "doctype": "Delivery Note" |
| 232 | }, |
| 233 | { |
| 234 | "type": "report", |
| 235 | "is_query_report": True, |
| 236 | "name": "Purchase Receipt Trends", |
| 237 | "doctype": "Purchase Receipt" |
| 238 | }, |
| 239 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 240 | ] |
| 241 | }, |
| 242 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 243 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 244 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 245 | "items": [ |
| 246 | { |
| 247 | "type": "report", |
| 248 | "is_query_report": True, |
| 249 | "name": "Ordered Items To Be Delivered", |
| 250 | "doctype": "Delivery Note" |
| 251 | }, |
| 252 | { |
| 253 | "type": "report", |
| 254 | "is_query_report": True, |
| 255 | "name": "Purchase Order Items To Be Received", |
| 256 | "doctype": "Purchase Receipt" |
| 257 | }, |
| 258 | { |
| 259 | "type": "report", |
| 260 | "name": "Item Shortage Report", |
| 261 | "route": "Report/Bin/Item Shortage Report", |
| 262 | "doctype": "Purchase Receipt" |
| 263 | }, |
| 264 | { |
| 265 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 266 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 267 | "name": "Requested Items To Be Transferred", |
| 268 | "doctype": "Material Request" |
| 269 | }, |
| 270 | { |
| 271 | "type": "report", |
| 272 | "is_query_report": True, |
| 273 | "name": "Batch-Wise Balance History", |
| 274 | "doctype": "Batch" |
| 275 | }, |
| 276 | { |
| 277 | "type": "report", |
| 278 | "is_query_report": True, |
Revant Nandgaonkar | 0766d3e | 2016-12-21 12:32:12 +0530 | [diff] [blame] | 279 | "name": "Batch Item Expiry Status", |
| 280 | "doctype": "Stock Ledger Entry" |
| 281 | }, |
| 282 | { |
| 283 | "type": "report", |
| 284 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 285 | "name": "Item Prices", |
| 286 | "doctype": "Price List" |
| 287 | }, |
| 288 | { |
| 289 | "type": "report", |
| 290 | "is_query_report": True, |
| 291 | "name": "Itemwise Recommended Reorder Level", |
| 292 | "doctype": "Item" |
| 293 | }, |
Prateeksha Singh | 744ff00 | 2017-11-17 12:00:29 +0530 | [diff] [blame] | 294 | { |
| 295 | "type": "report", |
| 296 | "is_query_report": True, |
| 297 | "name": "Item Variant Details", |
| 298 | "doctype": "Item" |
| 299 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 300 | ] |
| 301 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 302 | { |
| 303 | "label": _("Help"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 304 | "icon": "fa fa-facetime-video", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 305 | "items": [ |
| 306 | { |
| 307 | "type": "help", |
| 308 | "label": _("Items and Pricing"), |
| 309 | "youtube_id": "qXaEwld4_Ps" |
| 310 | }, |
| 311 | { |
| 312 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 313 | "label": _("Item Variants"), |
| 314 | "youtube_id": "OGBETlCzU5o" |
| 315 | }, |
| 316 | { |
| 317 | "type": "help", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 318 | "label": _("Opening Stock Balance"), |
Nabin Hait | 8908543 | 2015-05-29 16:26:07 +0530 | [diff] [blame] | 319 | "youtube_id": "0yPgrtfeCTs" |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 320 | }, |
| 321 | { |
| 322 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 323 | "label": _("Making Stock Entries"), |
| 324 | "youtube_id": "Njt107hlY3I" |
| 325 | }, |
| 326 | { |
| 327 | "type": "help", |
| 328 | "label": _("Serialized Inventory"), |
| 329 | "youtube_id": "gvOVlEwFDAk" |
| 330 | }, |
| 331 | { |
| 332 | "type": "help", |
| 333 | "label": _("Batch Inventory"), |
| 334 | "youtube_id": "J0QKl7ABPKM" |
| 335 | }, |
| 336 | { |
| 337 | "type": "help", |
| 338 | "label": _("Managing Subcontracting"), |
| 339 | "youtube_id": "ThiMCC2DtKo" |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 340 | }, |
| 341 | ] |
| 342 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 343 | ] |