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", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 76 | "name": "Product Bundle", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 77 | }, |
| 78 | { |
| 79 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 80 | "name": "Price List", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 81 | }, |
| 82 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 83 | "type": "doctype", |
| 84 | "name": "Item Group", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 85 | "icon": "fa fa-sitemap", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 86 | "label": _("Item Group"), |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 87 | "link": "Tree/Item Group", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 88 | }, |
| 89 | { |
| 90 | "type": "doctype", |
| 91 | "name": "Item Price", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 92 | "route": "Report/Item Price" |
| 93 | }, |
| 94 | { |
| 95 | "type": "doctype", |
| 96 | "name": "Shipping Rule", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 97 | }, |
| 98 | { |
| 99 | "type": "doctype", |
| 100 | "name": "Pricing Rule", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 101 | }, |
Rohit Waghchaure | 0e28fcc | 2017-08-29 18:15:57 +0530 | [diff] [blame] | 102 | { |
| 103 | "type": "doctype", |
| 104 | "name": "Item Variant Settings", |
Rohit Waghchaure | 0e28fcc | 2017-08-29 18:15:57 +0530 | [diff] [blame] | 105 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 106 | ] |
| 107 | }, |
| 108 | { |
| 109 | "label": _("Serial No and Batch"), |
| 110 | "items": [ |
| 111 | { |
| 112 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 113 | "name": "Serial No", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 114 | }, |
| 115 | { |
| 116 | "type": "doctype", |
| 117 | "name": "Batch", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 118 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 119 | { |
| 120 | "type": "doctype", |
| 121 | "name": "Installation Note", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 122 | }, |
| 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 Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 138 | ] |
| 139 | }, |
| 140 | { |
creamdory | fd1503c | 2017-11-08 10:58:09 +0800 | [diff] [blame] | 141 | "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 Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 151 | "label": _("Tools"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 152 | "icon": "fa fa-wrench", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 153 | "items": [ |
| 154 | { |
| 155 | "type": "doctype", |
| 156 | "name": "Stock Reconciliation", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 157 | }, |
| 158 | { |
| 159 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 160 | "name": "Packing Slip", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 161 | }, |
| 162 | { |
| 163 | "type": "doctype", |
| 164 | "name": "Quality Inspection", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 165 | }, |
| 166 | { |
| 167 | "type": "doctype", |
Nabin Hait | 12ce3ee | 2014-09-01 18:14:44 +0530 | [diff] [blame] | 168 | "name": "Landed Cost Voucher", |
Neil Trini Lasrado | 62dba50 | 2015-08-10 15:51:13 +0530 | [diff] [blame] | 169 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 170 | ] |
| 171 | }, |
| 172 | { |
| 173 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 174 | "icon": "fa fa-cog", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 175 | "items": [ |
| 176 | { |
| 177 | "type": "doctype", |
| 178 | "name": "Stock Settings", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 179 | }, |
| 180 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 181 | "type": "doctype", |
| 182 | "name": "Warehouse", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 183 | }, |
| 184 | { |
| 185 | "type": "doctype", |
| 186 | "name": "UOM", |
| 187 | "label": _("Unit of Measure") + " (UOM)", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 188 | }, |
| 189 | { |
| 190 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 191 | "name": "Item Attribute", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 192 | }, |
| 193 | { |
| 194 | "type": "doctype", |
| 195 | "name": "Brand", |
Rushabh Mehta | cc1262c | 2017-11-14 16:36:25 +0530 | [diff] [blame] | 196 | }, |
| 197 | { |
| 198 | "type": "doctype", |
| 199 | "name": "Item Variant Settings", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 200 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 201 | ] |
| 202 | }, |
| 203 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 204 | "label": _("Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 205 | "icon": "fa fa-table", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 206 | "items": [ |
| 207 | { |
| 208 | "type": "report", |
Anand Doshi | b527e54 | 2014-06-09 18:08:46 +0530 | [diff] [blame] | 209 | "is_query_report": False, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 210 | "name": "Item-wise Price List Rate", |
| 211 | "doctype": "Item Price", |
| 212 | }, |
| 213 | { |
| 214 | "type": "page", |
| 215 | "name": "stock-analytics", |
| 216 | "label": _("Stock Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 217 | "icon": "fa fa-bar-chart" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 218 | }, |
| 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 Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 232 | ] |
| 233 | }, |
| 234 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 235 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 236 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 237 | "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 Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 258 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 259 | "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 Nandgaonkar | 0766d3e | 2016-12-21 12:32:12 +0530 | [diff] [blame] | 271 | "name": "Batch Item Expiry Status", |
| 272 | "doctype": "Stock Ledger Entry" |
| 273 | }, |
| 274 | { |
| 275 | "type": "report", |
| 276 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 277 | "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 Singh | 744ff00 | 2017-11-17 12:00:29 +0530 | [diff] [blame] | 286 | { |
| 287 | "type": "report", |
| 288 | "is_query_report": True, |
| 289 | "name": "Item Variant Details", |
| 290 | "doctype": "Item" |
| 291 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 292 | ] |
| 293 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 294 | { |
| 295 | "label": _("Help"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 296 | "icon": "fa fa-facetime-video", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 297 | "items": [ |
| 298 | { |
| 299 | "type": "help", |
| 300 | "label": _("Items and Pricing"), |
| 301 | "youtube_id": "qXaEwld4_Ps" |
| 302 | }, |
| 303 | { |
| 304 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 305 | "label": _("Item Variants"), |
| 306 | "youtube_id": "OGBETlCzU5o" |
| 307 | }, |
| 308 | { |
| 309 | "type": "help", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 310 | "label": _("Opening Stock Balance"), |
Nabin Hait | 8908543 | 2015-05-29 16:26:07 +0530 | [diff] [blame] | 311 | "youtube_id": "0yPgrtfeCTs" |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 312 | }, |
| 313 | { |
| 314 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 315 | "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 Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 332 | }, |
| 333 | ] |
| 334 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 335 | ] |