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