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