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 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 80 | "type": "doctype", |
| 81 | "name": "Item Group", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 82 | "icon": "icon-sitemap", |
| 83 | "label": _("Item Group"), |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 84 | "link": "Tree/Item Group", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 85 | "description": _("Tree of Item Groups."), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 86 | }, |
| 87 | { |
| 88 | "type": "doctype", |
| 89 | "name": "Item Price", |
| 90 | "description": _("Multiple Item prices."), |
| 91 | "route": "Report/Item Price" |
| 92 | }, |
| 93 | { |
| 94 | "type": "doctype", |
| 95 | "name": "Shipping Rule", |
| 96 | "description": _("Rules for adding shipping costs.") |
| 97 | }, |
| 98 | { |
| 99 | "type": "doctype", |
| 100 | "name": "Pricing Rule", |
| 101 | "description": _("Rules for applying pricing and discount.") |
| 102 | }, |
| 103 | |
| 104 | ] |
| 105 | }, |
| 106 | { |
| 107 | "label": _("Serial No and Batch"), |
| 108 | "items": [ |
| 109 | { |
| 110 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 111 | "name": "Serial No", |
| 112 | "description": _("Single unit of an Item."), |
| 113 | }, |
| 114 | { |
| 115 | "type": "doctype", |
| 116 | "name": "Batch", |
| 117 | "description": _("Batch (lot) of an Item."), |
| 118 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 119 | { |
| 120 | "type": "doctype", |
| 121 | "name": "Installation Note", |
| 122 | "description": _("Installation record for a Serial No.") |
| 123 | }, |
| 124 | { |
| 125 | "type": "report", |
| 126 | "name": "Serial No Service Contract Expiry", |
| 127 | "doctype": "Serial No" |
| 128 | }, |
| 129 | { |
| 130 | "type": "report", |
| 131 | "name": "Serial No Status", |
| 132 | "doctype": "Serial No" |
| 133 | }, |
| 134 | { |
| 135 | "type": "report", |
| 136 | "name": "Serial No Warranty Expiry", |
| 137 | "doctype": "Serial No" |
| 138 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 139 | ] |
| 140 | }, |
| 141 | { |
| 142 | "label": _("Tools"), |
| 143 | "icon": "icon-wrench", |
| 144 | "items": [ |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "Stock Reconciliation", |
| 148 | "description": _("Upload stock balance via csv.") |
| 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 152 | "name": "Packing Slip", |
| 153 | "description": _("Split Delivery Note into packages.") |
| 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
| 157 | "name": "Quality Inspection", |
| 158 | "description": _("Incoming quality inspection.") |
| 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
Nabin Hait | 12ce3ee | 2014-09-01 18:14:44 +0530 | [diff] [blame] | 162 | "name": "Landed Cost Voucher", |
| 163 | "description": _("Update additional costs to calculate landed cost of items"), |
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"), |
| 169 | "icon": "icon-cog", |
| 170 | "items": [ |
| 171 | { |
| 172 | "type": "doctype", |
| 173 | "name": "Stock Settings", |
| 174 | "description": _("Default settings for stock transactions.") |
| 175 | }, |
| 176 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 177 | "type": "doctype", |
| 178 | "name": "Warehouse", |
| 179 | "description": _("Where items are stored."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 180 | }, |
| 181 | { |
| 182 | "type": "doctype", |
| 183 | "name": "UOM", |
| 184 | "label": _("Unit of Measure") + " (UOM)", |
| 185 | "description": _("e.g. Kg, Unit, Nos, m") |
| 186 | }, |
| 187 | { |
| 188 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 189 | "name": "Item Attribute", |
| 190 | "description": _("Attributes for Item Variants. e.g Size, Color etc."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 191 | }, |
| 192 | { |
| 193 | "type": "doctype", |
| 194 | "name": "Brand", |
| 195 | "description": _("Brand master.") |
| 196 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 197 | ] |
| 198 | }, |
| 199 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 200 | "label": _("Analytics"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 201 | "icon": "icon-table", |
| 202 | "items": [ |
| 203 | { |
| 204 | "type": "report", |
Anand Doshi | b527e54 | 2014-06-09 18:08:46 +0530 | [diff] [blame] | 205 | "is_query_report": False, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 206 | "name": "Item-wise Price List Rate", |
| 207 | "doctype": "Item Price", |
| 208 | }, |
| 209 | { |
| 210 | "type": "page", |
| 211 | "name": "stock-analytics", |
| 212 | "label": _("Stock Analytics"), |
| 213 | "icon": "icon-bar-chart" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 214 | }, |
| 215 | { |
| 216 | "type": "report", |
| 217 | "is_query_report": True, |
| 218 | "name": "Delivery Note Trends", |
| 219 | "doctype": "Delivery Note" |
| 220 | }, |
| 221 | { |
| 222 | "type": "report", |
| 223 | "is_query_report": True, |
| 224 | "name": "Purchase Receipt Trends", |
| 225 | "doctype": "Purchase Receipt" |
| 226 | }, |
| 227 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 228 | ] |
| 229 | }, |
| 230 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 231 | "label": _("Reports"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 232 | "icon": "icon-list", |
| 233 | "items": [ |
| 234 | { |
| 235 | "type": "report", |
| 236 | "is_query_report": True, |
| 237 | "name": "Ordered Items To Be Delivered", |
| 238 | "doctype": "Delivery Note" |
| 239 | }, |
| 240 | { |
| 241 | "type": "report", |
| 242 | "is_query_report": True, |
| 243 | "name": "Purchase Order Items To Be Received", |
| 244 | "doctype": "Purchase Receipt" |
| 245 | }, |
| 246 | { |
| 247 | "type": "report", |
| 248 | "name": "Item Shortage Report", |
| 249 | "route": "Report/Bin/Item Shortage Report", |
| 250 | "doctype": "Purchase Receipt" |
| 251 | }, |
| 252 | { |
| 253 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 254 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 255 | "name": "Requested Items To Be Transferred", |
| 256 | "doctype": "Material Request" |
| 257 | }, |
| 258 | { |
| 259 | "type": "report", |
| 260 | "is_query_report": True, |
| 261 | "name": "Batch-Wise Balance History", |
| 262 | "doctype": "Batch" |
| 263 | }, |
| 264 | { |
| 265 | "type": "report", |
| 266 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 267 | "name": "Item Prices", |
| 268 | "doctype": "Price List" |
| 269 | }, |
| 270 | { |
| 271 | "type": "report", |
| 272 | "is_query_report": True, |
| 273 | "name": "Itemwise Recommended Reorder Level", |
| 274 | "doctype": "Item" |
| 275 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 276 | ] |
| 277 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 278 | { |
| 279 | "label": _("Help"), |
| 280 | "icon": "icon-facetime-video", |
| 281 | "items": [ |
| 282 | { |
| 283 | "type": "help", |
| 284 | "label": _("Items and Pricing"), |
| 285 | "youtube_id": "qXaEwld4_Ps" |
| 286 | }, |
| 287 | { |
| 288 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 289 | "label": _("Item Variants"), |
| 290 | "youtube_id": "OGBETlCzU5o" |
| 291 | }, |
| 292 | { |
| 293 | "type": "help", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 294 | "label": _("Opening Stock Balance"), |
Nabin Hait | 8908543 | 2015-05-29 16:26:07 +0530 | [diff] [blame] | 295 | "youtube_id": "0yPgrtfeCTs" |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 296 | }, |
| 297 | { |
| 298 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 299 | "label": _("Making Stock Entries"), |
| 300 | "youtube_id": "Njt107hlY3I" |
| 301 | }, |
| 302 | { |
| 303 | "type": "help", |
| 304 | "label": _("Serialized Inventory"), |
| 305 | "youtube_id": "gvOVlEwFDAk" |
| 306 | }, |
| 307 | { |
| 308 | "type": "help", |
| 309 | "label": _("Batch Inventory"), |
| 310 | "youtube_id": "J0QKl7ABPKM" |
| 311 | }, |
| 312 | { |
| 313 | "type": "help", |
| 314 | "label": _("Managing Subcontracting"), |
| 315 | "youtube_id": "ThiMCC2DtKo" |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 316 | }, |
| 317 | ] |
| 318 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 319 | ] |