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", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 12 | "name": "Customer", |
| 13 | "description": _("Customer database."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 17 | "name": "Quotation", |
| 18 | "description": _("Quotes to Leads or Customers."), |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Sales Order", |
| 23 | "description": _("Confirmed orders from Customers."), |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Contact", |
| 28 | "description": _("All Contacts."), |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Address", |
| 33 | "description": _("All Addresses."), |
| 34 | }, |
| 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Item", |
| 38 | "description": _("All Products or Services."), |
| 39 | }, |
| 40 | ] |
| 41 | }, |
| 42 | { |
| 43 | "label": _("Tools"), |
| 44 | "icon": "icon-wrench", |
| 45 | "items": [ |
| 46 | { |
| 47 | "type": "doctype", |
| 48 | "name": "SMS Center", |
| 49 | "description":_("Send mass SMS to your contacts"), |
| 50 | }, |
Rushabh Mehta | 85ff3bc | 2014-07-22 14:43:14 +0530 | [diff] [blame] | 51 | { |
| 52 | "type": "doctype", |
Nabin Hait | 098760f | 2015-07-22 11:28:21 +0530 | [diff] [blame] | 53 | "name": "SMS Log", |
| 54 | "description":_("Logs for maintaining sms delivery status"), |
| 55 | }, |
| 56 | { |
| 57 | "type": "doctype", |
Rushabh Mehta | 85ff3bc | 2014-07-22 14:43:14 +0530 | [diff] [blame] | 58 | "name": "Newsletter", |
| 59 | "description": _("Newsletters to contacts, leads."), |
| 60 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 61 | ] |
| 62 | }, |
| 63 | { |
| 64 | "label": _("Setup"), |
| 65 | "icon": "icon-cog", |
| 66 | "items": [ |
| 67 | { |
| 68 | "type": "doctype", |
| 69 | "name": "Selling Settings", |
| 70 | "description": _("Default settings for selling transactions.") |
| 71 | }, |
| 72 | { |
| 73 | "type": "doctype", |
| 74 | "name": "Campaign", |
| 75 | "description": _("Sales campaigns."), |
| 76 | }, |
| 77 | { |
| 78 | "type": "page", |
| 79 | "label": _("Customer Group"), |
| 80 | "name": "Sales Browser", |
| 81 | "icon": "icon-sitemap", |
| 82 | "link": "Sales Browser/Customer Group", |
| 83 | "description": _("Manage Customer Group Tree."), |
| 84 | "doctype": "Customer Group", |
| 85 | }, |
| 86 | { |
| 87 | "type": "page", |
| 88 | "label": _("Territory"), |
| 89 | "name": "Sales Browser", |
| 90 | "icon": "icon-sitemap", |
| 91 | "link": "Sales Browser/Territory", |
| 92 | "description": _("Manage Territory Tree."), |
| 93 | "doctype": "Territory", |
| 94 | }, |
| 95 | { |
Anand Doshi | 11ada53 | 2014-06-27 21:02:55 +0530 | [diff] [blame] | 96 | "type": "doctype", |
| 97 | "name": "Sales Partner", |
| 98 | "description": _("Manage Sales Partners."), |
| 99 | }, |
| 100 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 101 | "type": "page", |
| 102 | "label": _("Sales Person"), |
| 103 | "name": "Sales Browser", |
| 104 | "icon": "icon-sitemap", |
| 105 | "link": "Sales Browser/Sales Person", |
| 106 | "description": _("Manage Sales Person Tree."), |
| 107 | "doctype": "Sales Person", |
| 108 | }, |
| 109 | { |
| 110 | "type": "page", |
| 111 | "name": "Sales Browser", |
| 112 | "icon": "icon-sitemap", |
| 113 | "label": _("Item Group Tree"), |
| 114 | "link": "Sales Browser/Item Group", |
| 115 | "description": _("Tree of Item Groups."), |
| 116 | "doctype": "Item Group", |
| 117 | }, |
| 118 | { |
| 119 | "type": "doctype", |
| 120 | "name":"Terms and Conditions", |
| 121 | "label": _("Terms and Conditions Template"), |
| 122 | "description": _("Template of terms or contract.") |
| 123 | }, |
| 124 | { |
| 125 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 126 | "name": "Sales Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 127 | "description": _("Tax template for selling transactions.") |
| 128 | }, |
| 129 | { |
| 130 | "type": "doctype", |
| 131 | "name": "Shipping Rule", |
| 132 | "description": _("Rules for adding shipping costs.") |
| 133 | }, |
| 134 | { |
| 135 | "type": "doctype", |
| 136 | "name": "Price List", |
| 137 | "description": _("Price List master.") |
| 138 | }, |
| 139 | { |
| 140 | "type": "doctype", |
| 141 | "name": "Item Price", |
| 142 | "description": _("Multiple Item prices."), |
| 143 | "route": "Report/Item Price" |
| 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "Pricing Rule", |
| 148 | "description": _("Rules for applying pricing and discount.") |
| 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
Neil Trini Lasrado | ed8cecb | 2015-07-07 13:59:23 +0530 | [diff] [blame] | 152 | "name": "Product Bundle", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 153 | "description": _("Bundle items at time of sale."), |
| 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
Rushabh Mehta | 5cdc8e5 | 2014-09-15 16:59:38 +0530 | [diff] [blame] | 157 | "name": "Email Account", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 158 | "description": _("Setup incoming server for sales email id. (e.g. sales@example.com)") |
| 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
| 162 | "name": "Industry Type", |
| 163 | "description": _("Track Leads by Industry Type.") |
| 164 | }, |
Nabin Hait | e7546e2 | 2014-05-28 16:25:54 +0530 | [diff] [blame] | 165 | { |
| 166 | "type": "doctype", |
| 167 | "name": "SMS Settings", |
| 168 | "description": _("Setup SMS gateway settings") |
| 169 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 170 | ] |
| 171 | }, |
| 172 | { |
| 173 | "label": _("Main Reports"), |
| 174 | "icon": "icon-table", |
| 175 | "items": [ |
| 176 | { |
| 177 | "type": "page", |
| 178 | "name": "sales-analytics", |
| 179 | "label": _("Sales Analytics"), |
| 180 | "icon": "icon-bar-chart", |
| 181 | }, |
| 182 | { |
| 183 | "type": "page", |
| 184 | "name": "sales-funnel", |
| 185 | "label": _("Sales Funnel"), |
| 186 | "icon": "icon-bar-chart", |
| 187 | }, |
| 188 | { |
| 189 | "type": "report", |
| 190 | "is_query_report": True, |
| 191 | "name": "Customer Acquisition and Loyalty", |
| 192 | "doctype": "Customer", |
| 193 | "icon": "icon-bar-chart", |
| 194 | }, |
| 195 | ] |
| 196 | }, |
| 197 | { |
| 198 | "label": _("Standard Reports"), |
| 199 | "icon": "icon-list", |
| 200 | "items": [ |
| 201 | { |
| 202 | "type": "report", |
| 203 | "is_query_report": True, |
| 204 | "name": "Lead Details", |
| 205 | "doctype": "Lead" |
| 206 | }, |
| 207 | { |
| 208 | "type": "report", |
| 209 | "is_query_report": True, |
Nabin Hait | 60ca1c2 | 2015-05-14 12:32:08 +0530 | [diff] [blame] | 210 | "name": "Customer Addresses And Contacts", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 211 | "doctype": "Contact" |
| 212 | }, |
| 213 | { |
| 214 | "type": "report", |
| 215 | "is_query_report": True, |
| 216 | "name": "Ordered Items To Be Delivered", |
| 217 | "doctype": "Sales Order" |
| 218 | }, |
| 219 | { |
| 220 | "type": "report", |
| 221 | "is_query_report": True, |
| 222 | "name": "Sales Person-wise Transaction Summary", |
| 223 | "doctype": "Sales Order" |
| 224 | }, |
| 225 | { |
| 226 | "type": "report", |
| 227 | "is_query_report": True, |
| 228 | "name": "Item-wise Sales History", |
| 229 | "doctype": "Item" |
| 230 | }, |
| 231 | { |
| 232 | "type": "report", |
| 233 | "is_query_report": True, |
| 234 | "name": "Territory Target Variance (Item Group-Wise)", |
| 235 | "route": "query-report/Territory Target Variance Item Group-Wise", |
| 236 | "doctype": "Territory" |
| 237 | }, |
| 238 | { |
| 239 | "type": "report", |
| 240 | "is_query_report": True, |
| 241 | "name": "Sales Person Target Variance (Item Group-Wise)", |
| 242 | "route": "query-report/Sales Person Target Variance Item Group-Wise", |
| 243 | "doctype": "Sales Person", |
| 244 | }, |
| 245 | { |
| 246 | "type": "report", |
| 247 | "is_query_report": True, |
Rushabh Mehta | b45a6bc | 2015-06-17 01:54:56 +0530 | [diff] [blame] | 248 | "name": "BOM Search", |
| 249 | "doctype": "BOM" |
| 250 | }, |
| 251 | { |
| 252 | "type": "report", |
| 253 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 254 | "name": "Customers Not Buying Since Long Time", |
| 255 | "doctype": "Sales Order" |
| 256 | }, |
| 257 | { |
| 258 | "type": "report", |
| 259 | "is_query_report": True, |
Nabin Hait | b743889 | 2014-06-05 16:14:28 +0530 | [diff] [blame] | 260 | "name": "Quotation Trends", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 261 | "doctype": "Quotation" |
| 262 | }, |
| 263 | { |
| 264 | "type": "report", |
| 265 | "is_query_report": True, |
| 266 | "name": "Sales Order Trends", |
| 267 | "doctype": "Sales Order" |
| 268 | }, |
| 269 | { |
| 270 | "type": "report", |
| 271 | "is_query_report": True, |
| 272 | "name": "Available Stock for Packing Items", |
| 273 | "doctype": "Item", |
| 274 | }, |
| 275 | { |
| 276 | "type": "report", |
| 277 | "is_query_report": True, |
| 278 | "name": "Pending SO Items For Purchase Request", |
| 279 | "doctype": "Sales Order" |
| 280 | }, |
Nabin Hait | 7dbcee8 | 2014-10-30 15:49:17 +0530 | [diff] [blame] | 281 | { |
| 282 | "type": "report", |
| 283 | "is_query_report": True, |
| 284 | "name": "Customer Credit Balance", |
| 285 | "doctype": "Customer" |
| 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"), |
| 291 | "items": [ |
| 292 | { |
| 293 | "type": "help", |
| 294 | "label": _("Customer and Supplier"), |
| 295 | "youtube_id": "anoGi_RpQ20" |
| 296 | }, |
| 297 | ] |
| 298 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 299 | ] |