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