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 | }, |
| 44 | ] |
| 45 | }, |
| 46 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 47 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 48 | "icon": "fa fa-list", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 49 | "items": [ |
| 50 | { |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 51 | "type": "report", |
| 52 | "is_query_report": True, |
| 53 | "name": "Lead Details", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 54 | "doctype": "Lead", |
| 55 | "onboard": 1, |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 56 | }, |
| 57 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 58 | "type": "page", |
| 59 | "name": "sales-funnel", |
| 60 | "label": _("Sales Funnel"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 61 | "icon": "fa fa-bar-chart", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 62 | "onboard": 1, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 63 | }, |
| 64 | { |
| 65 | "type": "report", |
Rohit Waghchaure | 1c68509 | 2017-04-13 19:51:14 +0530 | [diff] [blame] | 66 | "name": "Prospects Engaged But Not Converted", |
| 67 | "doctype": "Lead", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 68 | "is_query_report": True, |
| 69 | "onboard": 1, |
Rohit Waghchaure | 1c68509 | 2017-04-13 19:51:14 +0530 | [diff] [blame] | 70 | }, |
| 71 | { |
| 72 | "type": "report", |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 73 | "name": "Minutes to First Response for Opportunity", |
| 74 | "doctype": "Opportunity", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 75 | "is_query_report": True, |
| 76 | "dependencies": ["Opportunity"] |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 77 | }, |
| 78 | { |
| 79 | "type": "report", |
| 80 | "is_query_report": True, |
Kanchan Chauhan | 283b8c9 | 2016-11-01 13:05:11 +0530 | [diff] [blame] | 81 | "name": "Customer Addresses And Contacts", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 82 | "doctype": "Contact", |
| 83 | "dependencies": ["Customer"] |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 84 | }, |
| 85 | { |
| 86 | "type": "report", |
| 87 | "is_query_report": True, |
| 88 | "name": "Inactive Customers", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 89 | "doctype": "Sales Order", |
| 90 | "dependencies": ["Sales Order"] |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 91 | }, |
pawan | c27d9f7 | 2017-04-25 19:01:27 +0530 | [diff] [blame] | 92 | { |
| 93 | "type": "report", |
| 94 | "is_query_report": True, |
| 95 | "name": "Campaign Efficiency", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 96 | "doctype": "Lead", |
| 97 | "dependencies": ["Lead"] |
pawan | c27d9f7 | 2017-04-25 19:01:27 +0530 | [diff] [blame] | 98 | }, |
| 99 | { |
| 100 | "type": "report", |
| 101 | "is_query_report": True, |
| 102 | "name": "Lead Owner Efficiency", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 103 | "doctype": "Lead", |
| 104 | "dependencies": ["Lead"] |
pawan | c27d9f7 | 2017-04-25 19:01:27 +0530 | [diff] [blame] | 105 | } |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 106 | ] |
| 107 | }, |
| 108 | { |
Prateeksha Singh | 9d4a183 | 2019-02-11 15:14:50 +0530 | [diff] [blame] | 109 | "label": _("Settings"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 110 | "icon": "fa fa-cog", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 111 | "items": [ |
| 112 | { |
| 113 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 114 | "label": _("Customer Group"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 115 | "name": "Customer Group", |
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/Customer Group", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 118 | "description": _("Manage Customer Group Tree."), |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 119 | "onboard": 1, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 120 | }, |
| 121 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 122 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 123 | "label": _("Territory"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 124 | "name": "Territory", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 125 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 126 | "link": "Tree/Territory", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 127 | "description": _("Manage Territory Tree."), |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 128 | "onboard": 1, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 129 | }, |
| 130 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 131 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 132 | "label": _("Sales Person"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 133 | "name": "Sales Person", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 134 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 135 | "link": "Tree/Sales Person", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 136 | "description": _("Manage Sales Person Tree."), |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 137 | "onboard": 1, |
| 138 | }, |
| 139 | { |
| 140 | "type": "doctype", |
| 141 | "name": "Campaign", |
| 142 | "description": _("Sales campaigns."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 143 | }, |
Harsh Patel | 22e6f8d | 2018-03-08 16:23:59 +0530 | [diff] [blame] | 144 | { |
| 145 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 146 | "name": "SMS Center", |
| 147 | "description":_("Send mass SMS to your contacts"), |
| 148 | }, |
| 149 | { |
| 150 | "type": "doctype", |
| 151 | "name": "SMS Log", |
| 152 | "description":_("Logs for maintaining sms delivery status"), |
| 153 | }, |
Rushabh Mehta | 14ae4c3 | 2015-03-18 20:02:44 +0530 | [diff] [blame] | 154 | { |
| 155 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 156 | "name": "SMS Settings", |
| 157 | "description": _("Setup SMS gateway settings") |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 158 | } |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 159 | ] |
| 160 | }, |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 161 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 162 | "label": _("Maintenance"), |
| 163 | "icon": "fa fa-star", |
| 164 | "items": [ |
| 165 | { |
| 166 | "type": "doctype", |
| 167 | "name": "Maintenance Schedule", |
| 168 | "description": _("Plan for maintenance visits."), |
| 169 | "onboard": 1, |
| 170 | }, |
| 171 | { |
| 172 | "type": "doctype", |
| 173 | "name": "Maintenance Visit", |
| 174 | "description": _("Visit report for maintenance call."), |
| 175 | }, |
| 176 | { |
| 177 | "type": "report", |
| 178 | "name": "Maintenance Schedules", |
| 179 | "is_query_report": True, |
| 180 | "doctype": "Maintenance Schedule" |
| 181 | }, |
| 182 | { |
| 183 | "type": "doctype", |
| 184 | "name": "Warranty Claim", |
| 185 | "description": _("Warranty Claim against Serial No."), |
| 186 | }, |
| 187 | ] |
| 188 | }, |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 189 | # { |
| 190 | # "label": _("Help"), |
| 191 | # "items": [ |
| 192 | # { |
| 193 | # "type": "help", |
| 194 | # "label": _("Lead to Quotation"), |
| 195 | # "youtube_id": "TxYX4r4JAKA" |
| 196 | # }, |
| 197 | # { |
| 198 | # "type": "help", |
| 199 | # "label": _("Newsletters"), |
| 200 | # "youtube_id": "muLKsCrrDRo" |
| 201 | # }, |
| 202 | # ] |
| 203 | # }, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 204 | ] |