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