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 | }, |
| 34 | ] |
| 35 | }, |
| 36 | { |
| 37 | "label": _("Tools"), |
| 38 | "icon": "icon-wrench", |
| 39 | "items": [ |
| 40 | { |
| 41 | "type": "doctype", |
| 42 | "name": "SMS Center", |
| 43 | "description":_("Send mass SMS to your contacts"), |
| 44 | }, |
| 45 | ] |
| 46 | }, |
| 47 | { |
| 48 | "label": _("Setup"), |
| 49 | "icon": "icon-cog", |
| 50 | "items": [ |
| 51 | { |
| 52 | "type": "doctype", |
| 53 | "name": "Campaign", |
| 54 | "description": _("Sales campaigns."), |
| 55 | }, |
| 56 | { |
| 57 | "type": "page", |
| 58 | "label": _("Customer Group"), |
| 59 | "name": "Sales Browser", |
| 60 | "icon": "icon-sitemap", |
| 61 | "link": "Sales Browser/Customer Group", |
| 62 | "description": _("Manage Customer Group Tree."), |
| 63 | "doctype": "Customer Group", |
| 64 | }, |
| 65 | { |
| 66 | "type": "page", |
| 67 | "label": _("Territory"), |
| 68 | "name": "Sales Browser", |
| 69 | "icon": "icon-sitemap", |
| 70 | "link": "Sales Browser/Territory", |
| 71 | "description": _("Manage Territory Tree."), |
| 72 | "doctype": "Territory", |
| 73 | }, |
| 74 | { |
| 75 | "type": "page", |
| 76 | "label": _("Sales Person"), |
| 77 | "name": "Sales Browser", |
| 78 | "icon": "icon-sitemap", |
| 79 | "link": "Sales Browser/Sales Person", |
| 80 | "description": _("Manage Sales Person Tree."), |
| 81 | "doctype": "Sales Person", |
| 82 | }, |
| 83 | { |
| 84 | "type": "doctype", |
Rushabh Mehta | 14ae4c3 | 2015-03-18 20:02:44 +0530 | [diff] [blame] | 85 | "name": "Newsletter List", |
| 86 | "description": _("Newsletter Mailing List"), |
| 87 | }, |
| 88 | { |
| 89 | "type": "doctype", |
Rushabh Mehta | 60cfccb | 2015-02-17 10:36:54 +0530 | [diff] [blame] | 90 | "name": "SMS Settings", |
| 91 | "description": _("Setup SMS gateway settings") |
| 92 | }, |
| 93 | ] |
| 94 | }, |
| 95 | { |
| 96 | "label": _("Main Reports"), |
| 97 | "icon": "icon-table", |
| 98 | "items": [ |
| 99 | { |
| 100 | "type": "page", |
| 101 | "name": "sales-funnel", |
| 102 | "label": _("Sales Funnel"), |
| 103 | "icon": "icon-bar-chart", |
| 104 | }, |
| 105 | ] |
| 106 | }, |
| 107 | { |
| 108 | "label": _("Standard Reports"), |
| 109 | "icon": "icon-list", |
| 110 | "items": [ |
| 111 | { |
| 112 | "type": "report", |
| 113 | "is_query_report": True, |
| 114 | "name": "Lead Details", |
| 115 | "doctype": "Lead" |
| 116 | }, |
| 117 | { |
| 118 | "type": "report", |
| 119 | "is_query_report": True, |
| 120 | "name": "Customer Addresses and Contacts", |
| 121 | "doctype": "Contact" |
| 122 | }, |
| 123 | { |
| 124 | "type": "report", |
| 125 | "is_query_report": True, |
| 126 | "name": "Customers Not Buying Since Long Time", |
| 127 | "doctype": "Sales Order" |
| 128 | }, |
| 129 | ] |
| 130 | }, |
| 131 | ] |