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