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, |
Shreya Shah | 5103454 | 2018-06-05 10:44:36 +0530 | [diff] [blame] | 123 | "name": "Address And Contacts", |
ahmadRagheb | 9017f37 | 2017-06-07 17:38:39 +0300 | [diff] [blame] | 124 | "label": _("Sales Partner Addresses And Contacts"), |
mbauskar | cbc49e2 | 2017-01-19 17:45:22 +0530 | [diff] [blame] | 125 | "doctype": "Address", |
| 126 | "route_options": { |
| 127 | "party_type": "Sales Partner" |
| 128 | } |
| 129 | }, |
| 130 | { |
| 131 | "type": "report", |
| 132 | "is_query_report": True, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 133 | "name": "Territory Target Variance (Item Group-Wise)", |
| 134 | "route": "query-report/Territory Target Variance Item Group-Wise", |
| 135 | "doctype": "Territory" |
| 136 | }, |
| 137 | { |
| 138 | "type": "report", |
| 139 | "is_query_report": True, |
| 140 | "name": "Sales Person Target Variance (Item Group-Wise)", |
| 141 | "route": "query-report/Sales Person Target Variance Item Group-Wise", |
| 142 | "doctype": "Sales Person", |
| 143 | }, |
| 144 | ] |
| 145 | }, |
| 146 | { |
| 147 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 148 | "icon": "fa fa-cog", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 149 | "items": [ |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Selling Settings", |
| 153 | "description": _("Default settings for selling transactions.") |
| 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
| 157 | "name": "Campaign", |
| 158 | "description": _("Sales campaigns."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
| 162 | "name":"Terms and Conditions", |
| 163 | "label": _("Terms and Conditions Template"), |
| 164 | "description": _("Template of terms or contract.") |
| 165 | }, |
| 166 | { |
| 167 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 168 | "name": "Sales Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 169 | "description": _("Tax template for selling transactions.") |
| 170 | }, |
| 171 | { |
| 172 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 173 | "name": "Industry Type", |
| 174 | "description": _("Track Leads by Industry Type.") |
| 175 | }, |
Harsh Patel | 22e6f8d | 2018-03-08 16:23:59 +0530 | [diff] [blame] | 176 | { |
| 177 | "type": "doctype", |
| 178 | "name": "Lead Source", |
| 179 | "description": _("Track Leads by Lead Source.") |
| 180 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 181 | ] |
| 182 | }, |
| 183 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 184 | "label": _("Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 185 | "icon": "fa fa-table", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 186 | "items": [ |
| 187 | { |
| 188 | "type": "page", |
| 189 | "name": "sales-analytics", |
| 190 | "label": _("Sales Analytics"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 191 | "icon": "fa fa-bar-chart", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 192 | }, |
| 193 | { |
| 194 | "type": "page", |
| 195 | "name": "sales-funnel", |
| 196 | "label": _("Sales Funnel"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 197 | "icon": "fa fa-bar-chart", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 198 | }, |
| 199 | { |
| 200 | "type": "report", |
| 201 | "is_query_report": True, |
| 202 | "name": "Customer Acquisition and Loyalty", |
| 203 | "doctype": "Customer", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 204 | "icon": "fa fa-bar-chart", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 205 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 206 | { |
| 207 | "type": "report", |
| 208 | "is_query_report": True, |
| 209 | "name": "Quotation Trends", |
| 210 | "doctype": "Quotation" |
| 211 | }, |
| 212 | { |
| 213 | "type": "report", |
| 214 | "is_query_report": True, |
| 215 | "name": "Sales Order Trends", |
| 216 | "doctype": "Sales Order" |
| 217 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 218 | ] |
| 219 | }, |
| 220 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 221 | "label": _("Other Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 222 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 223 | "items": [ |
| 224 | { |
| 225 | "type": "report", |
| 226 | "is_query_report": True, |
| 227 | "name": "Lead Details", |
| 228 | "doctype": "Lead" |
| 229 | }, |
| 230 | { |
| 231 | "type": "report", |
| 232 | "is_query_report": True, |
Shreya Shah | 5103454 | 2018-06-05 10:44:36 +0530 | [diff] [blame] | 233 | "name": "Address And Contacts", |
ahmadRagheb | 9017f37 | 2017-06-07 17:38:39 +0300 | [diff] [blame] | 234 | "label": _("Customer Addresses And Contacts"), |
mbauskar | cbc49e2 | 2017-01-19 17:45:22 +0530 | [diff] [blame] | 235 | "doctype": "Address", |
| 236 | "route_options": { |
| 237 | "party_type": "Customer" |
| 238 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 239 | }, |
| 240 | { |
| 241 | "type": "report", |
| 242 | "is_query_report": True, |
| 243 | "name": "Ordered Items To Be Delivered", |
| 244 | "doctype": "Sales Order" |
| 245 | }, |
| 246 | { |
| 247 | "type": "report", |
| 248 | "is_query_report": True, |
| 249 | "name": "Sales Person-wise Transaction Summary", |
| 250 | "doctype": "Sales Order" |
| 251 | }, |
| 252 | { |
| 253 | "type": "report", |
| 254 | "is_query_report": True, |
| 255 | "name": "Item-wise Sales History", |
| 256 | "doctype": "Item" |
| 257 | }, |
| 258 | { |
| 259 | "type": "report", |
| 260 | "is_query_report": True, |
Rushabh Mehta | b45a6bc | 2015-06-17 01:54:56 +0530 | [diff] [blame] | 261 | "name": "BOM Search", |
| 262 | "doctype": "BOM" |
| 263 | }, |
| 264 | { |
| 265 | "type": "report", |
| 266 | "is_query_report": True, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 267 | "name": "Inactive Customers", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 268 | "doctype": "Sales Order" |
| 269 | }, |
| 270 | { |
| 271 | "type": "report", |
| 272 | "is_query_report": True, |
| 273 | "name": "Available Stock for Packing Items", |
| 274 | "doctype": "Item", |
| 275 | }, |
| 276 | { |
| 277 | "type": "report", |
| 278 | "is_query_report": True, |
| 279 | "name": "Pending SO Items For Purchase Request", |
| 280 | "doctype": "Sales Order" |
| 281 | }, |
Nabin Hait | 7dbcee8 | 2014-10-30 15:49:17 +0530 | [diff] [blame] | 282 | { |
| 283 | "type": "report", |
| 284 | "is_query_report": True, |
| 285 | "name": "Customer Credit Balance", |
| 286 | "doctype": "Customer" |
| 287 | }, |
Nabin Hait | 19ce904 | 2018-05-21 11:07:04 +0530 | [diff] [blame] | 288 | { |
| 289 | "type": "report", |
| 290 | "is_query_report": True, |
| 291 | "name": "Customers Without Any Sales Transactions", |
| 292 | "doctype": "Customer" |
| 293 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 294 | ] |
| 295 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 296 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 297 | "label": _("SMS"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 298 | "icon": "fa fa-wrench", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 299 | "items": [ |
| 300 | { |
| 301 | "type": "doctype", |
| 302 | "name": "SMS Center", |
| 303 | "description":_("Send mass SMS to your contacts"), |
| 304 | }, |
| 305 | { |
| 306 | "type": "doctype", |
| 307 | "name": "SMS Log", |
| 308 | "description":_("Logs for maintaining sms delivery status"), |
| 309 | }, |
| 310 | { |
| 311 | "type": "doctype", |
| 312 | "name": "SMS Settings", |
| 313 | "description": _("Setup SMS gateway settings") |
| 314 | }, |
| 315 | ] |
| 316 | }, |
| 317 | { |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 318 | "label": _("Help"), |
| 319 | "items": [ |
| 320 | { |
| 321 | "type": "help", |
| 322 | "label": _("Customer and Supplier"), |
| 323 | "youtube_id": "anoGi_RpQ20" |
| 324 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 325 | { |
| 326 | "type": "help", |
| 327 | "label": _("Sales Order to Payment"), |
| 328 | "youtube_id": "7AMq4lqkN4A" |
| 329 | }, |
| 330 | { |
| 331 | "type": "help", |
| 332 | "label": _("Point-of-Sale"), |
| 333 | "youtube_id": "4WkelWkbP_c" |
| 334 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 335 | ] |
| 336 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 337 | ] |