2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2015-02-17 05:06:54 +00:00
|
|
|
from frappe import _
|
|
|
|
|
|
|
|
def get_data():
|
|
|
|
return [
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Sales Pipeline"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-star",
|
2015-02-17 05:06:54 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Lead",
|
|
|
|
"description": _("Database of potential customers."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Opportunity",
|
|
|
|
"description": _("Potential opportunities for selling."),
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Customer",
|
|
|
|
"description": _("Customer database."),
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Contact",
|
|
|
|
"description": _("All Contacts."),
|
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Reports"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-list",
|
2016-03-08 12:36:21 +00:00
|
|
|
"items": [
|
2017-04-14 11:19:22 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Lead Details",
|
|
|
|
"doctype": "Lead"
|
|
|
|
},
|
2015-02-17 05:06:54 +00:00
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "page",
|
|
|
|
"name": "sales-funnel",
|
|
|
|
"label": _("Sales Funnel"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-bar-chart",
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
2017-04-13 14:21:14 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Prospects Engaged But Not Converted",
|
|
|
|
"doctype": "Lead",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
2015-08-14 11:22:55 +00:00
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "report",
|
2017-04-14 11:19:22 +00:00
|
|
|
"name": "Minutes to First Response for Opportunity",
|
|
|
|
"doctype": "Opportunity",
|
|
|
|
"is_query_report": True
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2016-11-01 07:35:11 +00:00
|
|
|
"name": "Customer Addresses And Contacts",
|
2016-03-08 12:36:21 +00:00
|
|
|
"doctype": "Contact"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Inactive Customers",
|
|
|
|
"doctype": "Sales Order"
|
2015-08-14 11:22:55 +00:00
|
|
|
},
|
2017-04-25 13:31:27 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Campaign Efficiency",
|
|
|
|
"doctype": "Lead"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Lead Owner Efficiency",
|
|
|
|
"doctype": "Lead"
|
|
|
|
}
|
2015-02-17 05:06:54 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Communication"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-star",
|
2015-02-17 05:06:54 +00:00
|
|
|
"items": [
|
2015-07-22 05:58:21 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Communication",
|
|
|
|
"description": _("Record of all communications of type email, phone, chat, visit, etc."),
|
|
|
|
},
|
2015-02-17 05:06:54 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Setup"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-cog",
|
2015-02-17 05:06:54 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Campaign",
|
|
|
|
"description": _("Sales campaigns."),
|
|
|
|
},
|
|
|
|
{
|
2016-07-05 12:32:38 +00:00
|
|
|
"type": "doctype",
|
2015-02-17 05:06:54 +00:00
|
|
|
"label": _("Customer Group"),
|
2016-07-05 12:32:38 +00:00
|
|
|
"name": "Customer Group",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-sitemap",
|
2016-06-21 07:49:17 +00:00
|
|
|
"link": "Tree/Customer Group",
|
2015-02-17 05:06:54 +00:00
|
|
|
"description": _("Manage Customer Group Tree."),
|
|
|
|
},
|
|
|
|
{
|
2016-07-05 12:32:38 +00:00
|
|
|
"type": "doctype",
|
2015-02-17 05:06:54 +00:00
|
|
|
"label": _("Territory"),
|
2016-07-05 12:32:38 +00:00
|
|
|
"name": "Territory",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-sitemap",
|
2016-06-21 07:49:17 +00:00
|
|
|
"link": "Tree/Territory",
|
2015-02-17 05:06:54 +00:00
|
|
|
"description": _("Manage Territory Tree."),
|
|
|
|
},
|
|
|
|
{
|
2016-07-05 12:32:38 +00:00
|
|
|
"type": "doctype",
|
2015-02-17 05:06:54 +00:00
|
|
|
"label": _("Sales Person"),
|
2016-07-05 12:32:38 +00:00
|
|
|
"name": "Sales Person",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-sitemap",
|
2016-06-21 07:49:17 +00:00
|
|
|
"link": "Tree/Sales Person",
|
2015-02-17 05:06:54 +00:00
|
|
|
"description": _("Manage Sales Person Tree."),
|
|
|
|
},
|
2018-03-08 10:53:59 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Lead Source",
|
|
|
|
"description": _("Track Leads by Lead Source.")
|
|
|
|
},
|
2015-02-17 05:06:54 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("SMS"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-wrench",
|
2015-02-17 05:06:54 +00:00
|
|
|
"items": [
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"name": "SMS Center",
|
|
|
|
"description":_("Send mass SMS to your contacts"),
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"name": "SMS Log",
|
|
|
|
"description":_("Logs for maintaining sms delivery status"),
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"name": "SMS Settings",
|
|
|
|
"description": _("Setup SMS gateway settings")
|
|
|
|
}
|
2015-02-17 05:06:54 +00:00
|
|
|
]
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
{
|
|
|
|
"label": _("Help"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Lead to Quotation"),
|
|
|
|
"youtube_id": "TxYX4r4JAKA"
|
|
|
|
},
|
2015-10-27 11:31:27 +00:00
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Newsletters"),
|
|
|
|
"youtube_id": "muLKsCrrDRo"
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
]
|
|
|
|
},
|
2015-02-17 05:06:54 +00:00
|
|
|
]
|