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