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", |
| 12 | "description": _("Record item movement."), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Delivery Note", |
| 17 | "description": _("Shipments to customers."), |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
| 21 | "name": "Purchase Receipt", |
| 22 | "description": _("Goods received from Suppliers."), |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 26 | "name": "Material Request", |
| 27 | "description": _("Requests for items."), |
| 28 | }, |
| 29 | ] |
| 30 | }, |
| 31 | { |
| 32 | "label": _("Stock Reports"), |
| 33 | "items": [ |
| 34 | { |
| 35 | "type": "report", |
| 36 | "is_query_report": True, |
| 37 | "name": "Stock Ledger", |
| 38 | "doctype": "Stock Ledger Entry", |
| 39 | }, |
| 40 | { |
| 41 | "type": "report", |
| 42 | "is_query_report": True, |
| 43 | "name": "Stock Balance", |
| 44 | "doctype": "Stock Ledger Entry" |
| 45 | }, |
| 46 | { |
| 47 | "type": "report", |
| 48 | "is_query_report": True, |
| 49 | "name": "Stock Projected Qty", |
| 50 | "doctype": "Item", |
| 51 | }, |
| 52 | { |
Rushabh Mehta | 3714626 | 2017-02-01 18:17:35 +0530 | [diff] [blame] | 53 | "type": "page", |
| 54 | "name": "stock-balance", |
| 55 | "label": _("Stock Summary") |
| 56 | }, |
| 57 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 58 | "type": "report", |
| 59 | "is_query_report": True, |
| 60 | "name": "Stock Ageing", |
| 61 | "doctype": "Item", |
| 62 | }, |
| 63 | |
| 64 | ] |
| 65 | }, |
| 66 | { |
| 67 | "label": _("Items and Pricing"), |
| 68 | "items": [ |
| 69 | { |
| 70 | "type": "doctype", |
| 71 | "name": "Item", |
| 72 | "description": _("All Products or Services."), |
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", |
| 77 | "description": _("Bundle items at time of sale."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 78 | }, |
| 79 | { |
| 80 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 81 | "name": "Price List", |
| 82 | "description": _("Price List master.") |
| 83 | }, |
| 84 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 85 | "type": "doctype", |
| 86 | "name": "Item Group", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 87 | "icon": "fa fa-sitemap", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 88 | "label": _("Item Group"), |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 89 | "link": "Tree/Item Group", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 90 | "description": _("Tree of Item Groups."), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 91 | }, |
| 92 | { |
| 93 | "type": "doctype", |
| 94 | "name": "Item Price", |
| 95 | "description": _("Multiple Item prices."), |
| 96 | "route": "Report/Item Price" |
| 97 | }, |
| 98 | { |
| 99 | "type": "doctype", |
| 100 | "name": "Shipping Rule", |
| 101 | "description": _("Rules for adding shipping costs.") |
| 102 | }, |
| 103 | { |
| 104 | "type": "doctype", |
| 105 | "name": "Pricing Rule", |
| 106 | "description": _("Rules for applying pricing and discount.") |
| 107 | }, |
| 108 | |
| 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", |
| 117 | "description": _("Single unit of an Item."), |
| 118 | }, |
| 119 | { |
| 120 | "type": "doctype", |
| 121 | "name": "Batch", |
| 122 | "description": _("Batch (lot) of an Item."), |
| 123 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 124 | { |
| 125 | "type": "doctype", |
| 126 | "name": "Installation Note", |
| 127 | "description": _("Installation record for a Serial No.") |
| 128 | }, |
| 129 | { |
| 130 | "type": "report", |
| 131 | "name": "Serial No Service Contract Expiry", |
| 132 | "doctype": "Serial No" |
| 133 | }, |
| 134 | { |
| 135 | "type": "report", |
| 136 | "name": "Serial No Status", |
| 137 | "doctype": "Serial No" |
| 138 | }, |
| 139 | { |
| 140 | "type": "report", |
| 141 | "name": "Serial No Warranty Expiry", |
| 142 | "doctype": "Serial No" |
| 143 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 144 | ] |
| 145 | }, |
| 146 | { |
| 147 | "label": _("Tools"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 148 | "icon": "fa fa-wrench", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 149 | "items": [ |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Stock Reconciliation", |
| 153 | "description": _("Upload stock balance via csv.") |
| 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 157 | "name": "Packing Slip", |
| 158 | "description": _("Split Delivery Note into packages.") |
| 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
| 162 | "name": "Quality Inspection", |
| 163 | "description": _("Incoming quality inspection.") |
| 164 | }, |
| 165 | { |
| 166 | "type": "doctype", |
Nabin Hait | 12ce3ee | 2014-09-01 18:14:44 +0530 | [diff] [blame] | 167 | "name": "Landed Cost Voucher", |
| 168 | "description": _("Update additional costs to calculate landed cost of items"), |
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", |
| 179 | "description": _("Default settings for stock transactions.") |
| 180 | }, |
| 181 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 182 | "type": "doctype", |
| 183 | "name": "Warehouse", |
| 184 | "description": _("Where items are stored."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 185 | }, |
| 186 | { |
| 187 | "type": "doctype", |
| 188 | "name": "UOM", |
| 189 | "label": _("Unit of Measure") + " (UOM)", |
| 190 | "description": _("e.g. Kg, Unit, Nos, m") |
| 191 | }, |
| 192 | { |
| 193 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 194 | "name": "Item Attribute", |
| 195 | "description": _("Attributes for Item Variants. e.g Size, Color etc."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 196 | }, |
| 197 | { |
| 198 | "type": "doctype", |
| 199 | "name": "Brand", |
| 200 | "description": _("Brand master.") |
| 201 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 202 | ] |
| 203 | }, |
| 204 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 205 | "label": _("Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 206 | "icon": "fa fa-table", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 207 | "items": [ |
| 208 | { |
| 209 | "type": "report", |
Anand Doshi | b527e54 | 2014-06-09 18:08:46 +0530 | [diff] [blame] | 210 | "is_query_report": False, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 211 | "name": "Item-wise Price List Rate", |
| 212 | "doctype": "Item Price", |
| 213 | }, |
| 214 | { |
| 215 | "type": "page", |
| 216 | "name": "stock-analytics", |
| 217 | "label": _("Stock Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 218 | "icon": "fa fa-bar-chart" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 219 | }, |
| 220 | { |
| 221 | "type": "report", |
| 222 | "is_query_report": True, |
| 223 | "name": "Delivery Note Trends", |
| 224 | "doctype": "Delivery Note" |
| 225 | }, |
| 226 | { |
| 227 | "type": "report", |
| 228 | "is_query_report": True, |
| 229 | "name": "Purchase Receipt Trends", |
| 230 | "doctype": "Purchase Receipt" |
| 231 | }, |
| 232 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 233 | ] |
| 234 | }, |
| 235 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 236 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 237 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 238 | "items": [ |
| 239 | { |
| 240 | "type": "report", |
| 241 | "is_query_report": True, |
| 242 | "name": "Ordered Items To Be Delivered", |
| 243 | "doctype": "Delivery Note" |
| 244 | }, |
| 245 | { |
| 246 | "type": "report", |
| 247 | "is_query_report": True, |
| 248 | "name": "Purchase Order Items To Be Received", |
| 249 | "doctype": "Purchase Receipt" |
| 250 | }, |
| 251 | { |
| 252 | "type": "report", |
| 253 | "name": "Item Shortage Report", |
| 254 | "route": "Report/Bin/Item Shortage Report", |
| 255 | "doctype": "Purchase Receipt" |
| 256 | }, |
| 257 | { |
| 258 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 259 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 260 | "name": "Requested Items To Be Transferred", |
| 261 | "doctype": "Material Request" |
| 262 | }, |
| 263 | { |
| 264 | "type": "report", |
| 265 | "is_query_report": True, |
| 266 | "name": "Batch-Wise Balance History", |
| 267 | "doctype": "Batch" |
| 268 | }, |
| 269 | { |
| 270 | "type": "report", |
| 271 | "is_query_report": True, |
Revant Nandgaonkar | 0766d3e | 2016-12-21 12:32:12 +0530 | [diff] [blame] | 272 | "name": "Batch Item Expiry Status", |
| 273 | "doctype": "Stock Ledger Entry" |
| 274 | }, |
| 275 | { |
| 276 | "type": "report", |
| 277 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 278 | "name": "Item Prices", |
| 279 | "doctype": "Price List" |
| 280 | }, |
| 281 | { |
| 282 | "type": "report", |
| 283 | "is_query_report": True, |
| 284 | "name": "Itemwise Recommended Reorder Level", |
| 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 | ] |