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