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