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 | { |
| 53 | "type": "report", |
| 54 | "is_query_report": True, |
| 55 | "name": "Stock Ageing", |
| 56 | "doctype": "Item", |
| 57 | }, |
| 58 | |
| 59 | ] |
| 60 | }, |
| 61 | { |
| 62 | "label": _("Items and Pricing"), |
| 63 | "items": [ |
| 64 | { |
| 65 | "type": "doctype", |
| 66 | "name": "Item", |
| 67 | "description": _("All Products or Services."), |
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", |
| 72 | "description": _("Bundle items at time of sale."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 73 | }, |
| 74 | { |
| 75 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 76 | "name": "Price List", |
| 77 | "description": _("Price List master.") |
| 78 | }, |
| 79 | { |
| 80 | "type": "page", |
| 81 | "name": "Sales Browser", |
| 82 | "icon": "icon-sitemap", |
| 83 | "label": _("Item Group"), |
| 84 | "link": "Sales Browser/Item Group", |
| 85 | "description": _("Tree of Item Groups."), |
| 86 | "doctype": "Item Group", |
| 87 | }, |
| 88 | { |
| 89 | "type": "doctype", |
| 90 | "name": "Item Price", |
| 91 | "description": _("Multiple Item prices."), |
| 92 | "route": "Report/Item Price" |
| 93 | }, |
| 94 | { |
| 95 | "type": "doctype", |
| 96 | "name": "Shipping Rule", |
| 97 | "description": _("Rules for adding shipping costs.") |
| 98 | }, |
| 99 | { |
| 100 | "type": "doctype", |
| 101 | "name": "Pricing Rule", |
| 102 | "description": _("Rules for applying pricing and discount.") |
| 103 | }, |
| 104 | |
| 105 | ] |
| 106 | }, |
| 107 | { |
| 108 | "label": _("Serial No and Batch"), |
| 109 | "items": [ |
| 110 | { |
| 111 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 112 | "name": "Serial No", |
| 113 | "description": _("Single unit of an Item."), |
| 114 | }, |
| 115 | { |
| 116 | "type": "doctype", |
| 117 | "name": "Batch", |
| 118 | "description": _("Batch (lot) of an Item."), |
| 119 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 120 | { |
| 121 | "type": "doctype", |
| 122 | "name": "Installation Note", |
| 123 | "description": _("Installation record for a Serial No.") |
| 124 | }, |
| 125 | { |
| 126 | "type": "report", |
| 127 | "name": "Serial No Service Contract Expiry", |
| 128 | "doctype": "Serial No" |
| 129 | }, |
| 130 | { |
| 131 | "type": "report", |
| 132 | "name": "Serial No Status", |
| 133 | "doctype": "Serial No" |
| 134 | }, |
| 135 | { |
| 136 | "type": "report", |
| 137 | "name": "Serial No Warranty Expiry", |
| 138 | "doctype": "Serial No" |
| 139 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 140 | ] |
| 141 | }, |
| 142 | { |
| 143 | "label": _("Tools"), |
| 144 | "icon": "icon-wrench", |
| 145 | "items": [ |
| 146 | { |
| 147 | "type": "doctype", |
| 148 | "name": "Stock Reconciliation", |
| 149 | "description": _("Upload stock balance via csv.") |
| 150 | }, |
| 151 | { |
| 152 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 153 | "name": "Packing Slip", |
| 154 | "description": _("Split Delivery Note into packages.") |
| 155 | }, |
| 156 | { |
| 157 | "type": "doctype", |
| 158 | "name": "Quality Inspection", |
| 159 | "description": _("Incoming quality inspection.") |
| 160 | }, |
| 161 | { |
| 162 | "type": "doctype", |
Nabin Hait | 12ce3ee | 2014-09-01 18:14:44 +0530 | [diff] [blame] | 163 | "name": "Landed Cost Voucher", |
| 164 | "description": _("Update additional costs to calculate landed cost of items"), |
Neil Trini Lasrado | 62dba50 | 2015-08-10 15:51:13 +0530 | [diff] [blame] | 165 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 166 | ] |
| 167 | }, |
| 168 | { |
| 169 | "label": _("Setup"), |
| 170 | "icon": "icon-cog", |
| 171 | "items": [ |
| 172 | { |
| 173 | "type": "doctype", |
| 174 | "name": "Stock Settings", |
| 175 | "description": _("Default settings for stock transactions.") |
| 176 | }, |
| 177 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 178 | "type": "doctype", |
| 179 | "name": "Warehouse", |
| 180 | "description": _("Where items are stored."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 181 | }, |
| 182 | { |
| 183 | "type": "doctype", |
| 184 | "name": "UOM", |
| 185 | "label": _("Unit of Measure") + " (UOM)", |
| 186 | "description": _("e.g. Kg, Unit, Nos, m") |
| 187 | }, |
| 188 | { |
| 189 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 190 | "name": "Item Attribute", |
| 191 | "description": _("Attributes for Item Variants. e.g Size, Color etc."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 192 | }, |
| 193 | { |
| 194 | "type": "doctype", |
| 195 | "name": "Brand", |
| 196 | "description": _("Brand master.") |
| 197 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 198 | ] |
| 199 | }, |
| 200 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 201 | "label": _("Analytics"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 202 | "icon": "icon-table", |
| 203 | "items": [ |
| 204 | { |
| 205 | "type": "report", |
Anand Doshi | b527e54 | 2014-06-09 18:08:46 +0530 | [diff] [blame] | 206 | "is_query_report": False, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 207 | "name": "Item-wise Price List Rate", |
| 208 | "doctype": "Item Price", |
| 209 | }, |
| 210 | { |
| 211 | "type": "page", |
| 212 | "name": "stock-analytics", |
| 213 | "label": _("Stock Analytics"), |
| 214 | "icon": "icon-bar-chart" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 215 | }, |
| 216 | { |
| 217 | "type": "report", |
| 218 | "is_query_report": True, |
| 219 | "name": "Delivery Note Trends", |
| 220 | "doctype": "Delivery Note" |
| 221 | }, |
| 222 | { |
| 223 | "type": "report", |
| 224 | "is_query_report": True, |
| 225 | "name": "Purchase Receipt Trends", |
| 226 | "doctype": "Purchase Receipt" |
| 227 | }, |
| 228 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 229 | ] |
| 230 | }, |
| 231 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 232 | "label": _("Reports"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 233 | "icon": "icon-list", |
| 234 | "items": [ |
| 235 | { |
| 236 | "type": "report", |
| 237 | "is_query_report": True, |
| 238 | "name": "Ordered Items To Be Delivered", |
| 239 | "doctype": "Delivery Note" |
| 240 | }, |
| 241 | { |
| 242 | "type": "report", |
| 243 | "is_query_report": True, |
| 244 | "name": "Purchase Order Items To Be Received", |
| 245 | "doctype": "Purchase Receipt" |
| 246 | }, |
| 247 | { |
| 248 | "type": "report", |
| 249 | "name": "Item Shortage Report", |
| 250 | "route": "Report/Bin/Item Shortage Report", |
| 251 | "doctype": "Purchase Receipt" |
| 252 | }, |
| 253 | { |
| 254 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 255 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 256 | "name": "Requested Items To Be Transferred", |
| 257 | "doctype": "Material Request" |
| 258 | }, |
| 259 | { |
| 260 | "type": "report", |
| 261 | "is_query_report": True, |
| 262 | "name": "Batch-Wise Balance History", |
| 263 | "doctype": "Batch" |
| 264 | }, |
| 265 | { |
| 266 | "type": "report", |
| 267 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 268 | "name": "Item Prices", |
| 269 | "doctype": "Price List" |
| 270 | }, |
| 271 | { |
| 272 | "type": "report", |
| 273 | "is_query_report": True, |
| 274 | "name": "Itemwise Recommended Reorder Level", |
| 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"), |
| 281 | "icon": "icon-facetime-video", |
| 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 | ] |