Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
| 3 | def get_data(): |
| 4 | return [ |
| 5 | { |
| 6 | "label": _("Documents"), |
| 7 | "icon": "icon-star", |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Lead", |
| 12 | "description": _("Database of potential customers."), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Customer", |
| 17 | "description": _("Customer database."), |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
| 21 | "name": "Opportunity", |
| 22 | "description": _("Potential opportunities for selling."), |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
| 26 | "name": "Contact", |
| 27 | "description": _("All Contacts."), |
| 28 | }, |
| 29 | { |
| 30 | "type": "doctype", |
| 31 | "name": "Newsletter", |
| 32 | "description": _("Newsletters to contacts, leads."), |
| 33 | }, |
Anand Doshi | 1a2e6bf | 2015-08-14 16:52:55 +0530 | [diff] [blame] | 34 | { |
| 35 | "type": "doctype", |
| 36 | "name": "Communication", |
| 37 | "description": _("Record of all communications of type email, phone, chat, visit, etc."), |
| 38 | }, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 39 | ] |
| 40 | }, |
| 41 | { |
| 42 | "label": _("Tools"), |
| 43 | "icon": "icon-wrench", |
| 44 | "items": [ |
| 45 | { |
| 46 | "type": "doctype", |
| 47 | "name": "SMS Center", |
| 48 | "description":_("Send mass SMS to your contacts"), |
| 49 | }, |
Nabin Hait | 098760f | 2015-07-22 11:28:21 +0530 | [diff] [blame] | 50 | { |
| 51 | "type": "doctype", |
| 52 | "name": "SMS Log", |
| 53 | "description":_("Logs for maintaining sms delivery status"), |
| 54 | } |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 55 | ] |
| 56 | }, |
| 57 | { |
| 58 | "label": _("Setup"), |
| 59 | "icon": "icon-cog", |
| 60 | "items": [ |
| 61 | { |
| 62 | "type": "doctype", |
| 63 | "name": "Campaign", |
| 64 | "description": _("Sales campaigns."), |
| 65 | }, |
| 66 | { |
| 67 | "type": "page", |
| 68 | "label": _("Customer Group"), |
| 69 | "name": "Sales Browser", |
| 70 | "icon": "icon-sitemap", |
| 71 | "link": "Sales Browser/Customer Group", |
| 72 | "description": _("Manage Customer Group Tree."), |
| 73 | "doctype": "Customer Group", |
| 74 | }, |
| 75 | { |
| 76 | "type": "page", |
| 77 | "label": _("Territory"), |
| 78 | "name": "Sales Browser", |
| 79 | "icon": "icon-sitemap", |
| 80 | "link": "Sales Browser/Territory", |
| 81 | "description": _("Manage Territory Tree."), |
| 82 | "doctype": "Territory", |
| 83 | }, |
| 84 | { |
| 85 | "type": "page", |
| 86 | "label": _("Sales Person"), |
| 87 | "name": "Sales Browser", |
| 88 | "icon": "icon-sitemap", |
| 89 | "link": "Sales Browser/Sales Person", |
| 90 | "description": _("Manage Sales Person Tree."), |
| 91 | "doctype": "Sales Person", |
| 92 | }, |
| 93 | { |
| 94 | "type": "doctype", |
Rushabh Mehta | 14ae4c3 | 2015-03-18 20:02:44 +0530 | [diff] [blame] | 95 | "name": "Newsletter List", |
| 96 | "description": _("Newsletter Mailing List"), |
| 97 | }, |
| 98 | { |
| 99 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 100 | "name": "SMS Settings", |
| 101 | "description": _("Setup SMS gateway settings") |
| 102 | }, |
| 103 | ] |
| 104 | }, |
| 105 | { |
| 106 | "label": _("Main Reports"), |
| 107 | "icon": "icon-table", |
| 108 | "items": [ |
| 109 | { |
| 110 | "type": "page", |
| 111 | "name": "sales-funnel", |
| 112 | "label": _("Sales Funnel"), |
| 113 | "icon": "icon-bar-chart", |
| 114 | }, |
| 115 | ] |
| 116 | }, |
| 117 | { |
| 118 | "label": _("Standard Reports"), |
| 119 | "icon": "icon-list", |
| 120 | "items": [ |
| 121 | { |
| 122 | "type": "report", |
| 123 | "is_query_report": True, |
| 124 | "name": "Lead Details", |
| 125 | "doctype": "Lead" |
| 126 | }, |
| 127 | { |
| 128 | "type": "report", |
| 129 | "is_query_report": True, |
| 130 | "name": "Customer Addresses and Contacts", |
| 131 | "doctype": "Contact" |
| 132 | }, |
| 133 | { |
| 134 | "type": "report", |
| 135 | "is_query_report": True, |
| 136 | "name": "Customers Not Buying Since Long Time", |
| 137 | "doctype": "Sales Order" |
| 138 | }, |
| 139 | ] |
| 140 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 141 | { |
| 142 | "label": _("Help"), |
| 143 | "items": [ |
| 144 | { |
| 145 | "type": "help", |
| 146 | "label": _("Lead to Quotation"), |
| 147 | "youtube_id": "TxYX4r4JAKA" |
| 148 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 149 | { |
| 150 | "type": "help", |
| 151 | "label": _("Newsletters"), |
| 152 | "youtube_id": "muLKsCrrDRo" |
| 153 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 154 | ] |
| 155 | }, |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 156 | ] |