Aditya Hase | f3c22f3 | 2019-01-22 18:22:20 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 7 | "label": _("Sales Pipeline"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 8 | "icon": "fa fa-star", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
| 12 | "name": "Lead", |
| 13 | "description": _("Database of potential customers."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 17 | "name": "Opportunity", |
| 18 | "description": _("Potential opportunities for selling."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 22 | "name": "Customer", |
| 23 | "description": _("Customer database."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Contact", |
| 28 | "description": _("All Contacts."), |
| 29 | }, |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Communication", |
| 33 | "description": _("Record of all communications of type email, phone, chat, visit, etc."), |
| 34 | }, |
| 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Lead Source", |
| 38 | "description": _("Track Leads by Lead Source.") |
| 39 | }, |
| 40 | ] |
| 41 | }, |
| 42 | { |
| 43 | "label": _("Support"), |
| 44 | "items": [ |
| 45 | { |
| 46 | "type": "doctype", |
| 47 | "name": "Issue", |
| 48 | "description": _("Support queries from customers."), |
| 49 | }, |
| 50 | { |
| 51 | "type": "doctype", |
| 52 | "name": "Communication", |
| 53 | "description": _("Communication log."), |
| 54 | }, |
| 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Warranty Claim", |
| 58 | "description": _("Warranty Claim against Serial No."), |
| 59 | }, |
| 60 | { |
| 61 | "type": "doctype", |
| 62 | "name": "Serial No", |
| 63 | "description": _("Single unit of an Item."), |
| 64 | }, |
| 65 | { |
| 66 | "type": "page", |
| 67 | "name": "support-analytics", |
| 68 | "label": _("Support Analytics"), |
| 69 | "icon": "fa fa-bar-chart" |
| 70 | }, |
| 71 | { |
| 72 | "type": "report", |
| 73 | "name": "Minutes to First Response for Issues", |
| 74 | "doctype": "Issue", |
| 75 | "is_query_report": True |
| 76 | }, |
| 77 | { |
| 78 | "type": "report", |
| 79 | "name": "Support Hours", |
| 80 | "doctype": "Issue", |
| 81 | "is_query_report": True |
| 82 | }, |
| 83 | ] |
| 84 | }, |
| 85 | { |
| 86 | "label": _("Maintenance"), |
| 87 | "icon": "fa fa-star", |
| 88 | "items": [ |
| 89 | { |
| 90 | "type": "doctype", |
| 91 | "name": "Maintenance Schedule", |
| 92 | "description": _("Plan for maintenance visits."), |
| 93 | }, |
| 94 | { |
| 95 | "type": "doctype", |
| 96 | "name": "Maintenance Visit", |
| 97 | "description": _("Visit report for maintenance call."), |
| 98 | }, |
| 99 | { |
| 100 | "type": "report", |
| 101 | "name": "Maintenance Schedules", |
| 102 | "is_query_report": True, |
| 103 | "doctype": "Maintenance Schedule" |
| 104 | }, |
| 105 | { |
| 106 | "type": "doctype", |
| 107 | "name": "Warranty Claim", |
| 108 | "description": _("Warranty Claim against Serial No."), |
| 109 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 110 | ] |
| 111 | }, |
| 112 | { |
| 113 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 114 | "icon": "fa fa-list", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 115 | "items": [ |
| 116 | { |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 117 | "type": "report", |
| 118 | "is_query_report": True, |
| 119 | "name": "Lead Details", |
| 120 | "doctype": "Lead" |
| 121 | }, |
| 122 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 123 | "type": "page", |
| 124 | "name": "sales-funnel", |
| 125 | "label": _("Sales Funnel"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 126 | "icon": "fa fa-bar-chart", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 127 | }, |
| 128 | { |
| 129 | "type": "report", |
Rohit Waghchaure | 1c68509 | 2017-04-13 19:51:14 +0530 | [diff] [blame] | 130 | "name": "Prospects Engaged But Not Converted", |
| 131 | "doctype": "Lead", |
| 132 | "is_query_report": True |
| 133 | }, |
| 134 | { |
| 135 | "type": "report", |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 136 | "name": "Minutes to First Response for Opportunity", |
| 137 | "doctype": "Opportunity", |
| 138 | "is_query_report": True |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 139 | }, |
| 140 | { |
| 141 | "type": "report", |
| 142 | "is_query_report": True, |
Kanchan Chauhan | 283b8c9 | 2016-11-01 13:05:11 +0530 | [diff] [blame] | 143 | "name": "Customer Addresses And Contacts", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 144 | "doctype": "Contact" |
| 145 | }, |
| 146 | { |
| 147 | "type": "report", |
| 148 | "is_query_report": True, |
| 149 | "name": "Inactive Customers", |
| 150 | "doctype": "Sales Order" |
| 151 | }, |
pawan | c27d9f7 | 2017-04-25 19:01:27 +0530 | [diff] [blame] | 152 | { |
| 153 | "type": "report", |
| 154 | "is_query_report": True, |
| 155 | "name": "Campaign Efficiency", |
| 156 | "doctype": "Lead" |
| 157 | }, |
| 158 | { |
| 159 | "type": "report", |
| 160 | "is_query_report": True, |
| 161 | "name": "Lead Owner Efficiency", |
| 162 | "doctype": "Lead" |
| 163 | } |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 164 | ] |
| 165 | }, |
| 166 | { |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 167 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 168 | "icon": "fa fa-cog", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 169 | "items": [ |
| 170 | { |
| 171 | "type": "doctype", |
| 172 | "name": "Campaign", |
| 173 | "description": _("Sales campaigns."), |
| 174 | }, |
| 175 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 176 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 177 | "label": _("Customer Group"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 178 | "name": "Customer Group", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 179 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 180 | "link": "Tree/Customer Group", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 181 | "description": _("Manage Customer Group Tree."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 182 | }, |
| 183 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 184 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 185 | "label": _("Territory"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 186 | "name": "Territory", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 187 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 188 | "link": "Tree/Territory", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 189 | "description": _("Manage Territory Tree."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 190 | }, |
| 191 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 192 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 193 | "label": _("Sales Person"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 194 | "name": "Sales Person", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 195 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 196 | "link": "Tree/Sales Person", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 197 | "description": _("Manage Sales Person Tree."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 198 | }, |
Harsh Patel | 22e6f8d | 2018-03-08 16:23:59 +0530 | [diff] [blame] | 199 | { |
| 200 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 201 | "name": "SMS Center", |
| 202 | "description":_("Send mass SMS to your contacts"), |
| 203 | }, |
| 204 | { |
| 205 | "type": "doctype", |
| 206 | "name": "SMS Log", |
| 207 | "description":_("Logs for maintaining sms delivery status"), |
| 208 | }, |
Rushabh Mehta | 14ae4c3 | 2015-03-18 20:02:44 +0530 | [diff] [blame] | 209 | { |
| 210 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 211 | "name": "SMS Settings", |
| 212 | "description": _("Setup SMS gateway settings") |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 213 | } |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 214 | ] |
| 215 | }, |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 216 | # { |
| 217 | # "label": _("Help"), |
| 218 | # "items": [ |
| 219 | # { |
| 220 | # "type": "help", |
| 221 | # "label": _("Lead to Quotation"), |
| 222 | # "youtube_id": "TxYX4r4JAKA" |
| 223 | # }, |
| 224 | # { |
| 225 | # "type": "help", |
| 226 | # "label": _("Newsletters"), |
| 227 | # "youtube_id": "muLKsCrrDRo" |
| 228 | # }, |
| 229 | # ] |
| 230 | # }, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 231 | ] |