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