Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
| 3 | def get_data(): |
| 4 | return [ |
| 5 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 6 | "label": _("Sales Pipeline"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 7 | "icon": "fa fa-star", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Lead", |
| 12 | "description": _("Database of potential customers."), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 16 | "name": "Opportunity", |
| 17 | "description": _("Potential opportunities for selling."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 21 | "name": "Customer", |
| 22 | "description": _("Customer database."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
| 26 | "name": "Contact", |
| 27 | "description": _("All Contacts."), |
| 28 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 29 | ] |
| 30 | }, |
| 31 | { |
| 32 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 33 | "icon": "fa fa-list", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 34 | "items": [ |
| 35 | { |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 36 | "type": "report", |
| 37 | "is_query_report": True, |
| 38 | "name": "Lead Details", |
| 39 | "doctype": "Lead" |
| 40 | }, |
| 41 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 42 | "type": "page", |
| 43 | "name": "sales-funnel", |
| 44 | "label": _("Sales Funnel"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 45 | "icon": "fa fa-bar-chart", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 46 | }, |
| 47 | { |
| 48 | "type": "report", |
Rohit Waghchaure | 1c68509 | 2017-04-13 19:51:14 +0530 | [diff] [blame] | 49 | "name": "Prospects Engaged But Not Converted", |
| 50 | "doctype": "Lead", |
| 51 | "is_query_report": True |
| 52 | }, |
| 53 | { |
| 54 | "type": "report", |
Rohit Waghchaure | 6681b0d | 2017-04-14 16:49:22 +0530 | [diff] [blame] | 55 | "name": "Minutes to First Response for Opportunity", |
| 56 | "doctype": "Opportunity", |
| 57 | "is_query_report": True |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 58 | }, |
| 59 | { |
| 60 | "type": "report", |
| 61 | "is_query_report": True, |
Kanchan Chauhan | 283b8c9 | 2016-11-01 13:05:11 +0530 | [diff] [blame] | 62 | "name": "Customer Addresses And Contacts", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 63 | "doctype": "Contact" |
| 64 | }, |
| 65 | { |
| 66 | "type": "report", |
| 67 | "is_query_report": True, |
| 68 | "name": "Inactive Customers", |
| 69 | "doctype": "Sales Order" |
| 70 | }, |
pawan | c27d9f7 | 2017-04-25 19:01:27 +0530 | [diff] [blame] | 71 | { |
| 72 | "type": "report", |
| 73 | "is_query_report": True, |
| 74 | "name": "Campaign Efficiency", |
| 75 | "doctype": "Lead" |
| 76 | }, |
| 77 | { |
| 78 | "type": "report", |
| 79 | "is_query_report": True, |
| 80 | "name": "Lead Owner Efficiency", |
| 81 | "doctype": "Lead" |
| 82 | } |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 83 | ] |
| 84 | }, |
| 85 | { |
| 86 | "label": _("Communication"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 87 | "icon": "fa fa-star", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 88 | "items": [ |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 89 | { |
| 90 | "type": "doctype", |
Anand Doshi | 1a2e6bf | 2015-08-14 16:52:55 +0530 | [diff] [blame] | 91 | "name": "Communication", |
| 92 | "description": _("Record of all communications of type email, phone, chat, visit, etc."), |
| 93 | }, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 94 | ] |
| 95 | }, |
| 96 | { |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 97 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 98 | "icon": "fa fa-cog", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 99 | "items": [ |
| 100 | { |
| 101 | "type": "doctype", |
| 102 | "name": "Campaign", |
| 103 | "description": _("Sales campaigns."), |
| 104 | }, |
| 105 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 106 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 107 | "label": _("Customer Group"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 108 | "name": "Customer Group", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 109 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 110 | "link": "Tree/Customer Group", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 111 | "description": _("Manage Customer Group Tree."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 112 | }, |
| 113 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 114 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 115 | "label": _("Territory"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 116 | "name": "Territory", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 117 | "icon": "fa fa-sitemap", |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 118 | "link": "Tree/Territory", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 119 | "description": _("Manage Territory Tree."), |
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": _("Sales Person"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 124 | "name": "Sales Person", |
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/Sales Person", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 127 | "description": _("Manage Sales Person Tree."), |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 128 | }, |
Harsh Patel | 22e6f8d | 2018-03-08 16:23:59 +0530 | [diff] [blame] | 129 | { |
| 130 | "type": "doctype", |
| 131 | "name": "Lead Source", |
| 132 | "description": _("Track Leads by Lead Source.") |
| 133 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 134 | ] |
| 135 | }, |
| 136 | { |
| 137 | "label": _("SMS"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 138 | "icon": "fa fa-wrench", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 139 | "items": [ |
| 140 | { |
| 141 | "type": "doctype", |
| 142 | "name": "SMS Center", |
| 143 | "description":_("Send mass SMS to your contacts"), |
| 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "SMS Log", |
| 148 | "description":_("Logs for maintaining sms delivery status"), |
| 149 | }, |
Rushabh Mehta | 14ae4c3 | 2015-03-18 20:02:44 +0530 | [diff] [blame] | 150 | { |
| 151 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 152 | "name": "SMS Settings", |
| 153 | "description": _("Setup SMS gateway settings") |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 154 | } |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 155 | ] |
| 156 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 157 | { |
| 158 | "label": _("Help"), |
| 159 | "items": [ |
| 160 | { |
| 161 | "type": "help", |
| 162 | "label": _("Lead to Quotation"), |
| 163 | "youtube_id": "TxYX4r4JAKA" |
| 164 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 165 | { |
| 166 | "type": "help", |
| 167 | "label": _("Newsletters"), |
| 168 | "youtube_id": "muLKsCrrDRo" |
| 169 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 170 | ] |
| 171 | }, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 172 | ] |