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