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."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Opportunity",
|
|
|
|
"description": _("Potential opportunities for selling."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Customer",
|
|
|
|
"description": _("Customer database."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Contact",
|
|
|
|
"description": _("All Contacts."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
2019-01-24 01:45:53 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Communication",
|
|
|
|
"description": _("Record of all communications of type email, phone, chat, visit, etc."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Lead Source",
|
|
|
|
"description": _("Track Leads by Lead Source.")
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Support"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Issue",
|
|
|
|
"description": _("Support queries from customers."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2019-01-24 01:45:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Communication",
|
|
|
|
"description": _("Communication log."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Warranty Claim",
|
|
|
|
"description": _("Warranty Claim against Serial No."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Serial No",
|
|
|
|
"description": _("Single unit of an Item."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "page",
|
|
|
|
"name": "support-analytics",
|
|
|
|
"label": _("Support Analytics"),
|
|
|
|
"icon": "fa fa-bar-chart"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Minutes to First Response for Issues",
|
|
|
|
"doctype": "Issue",
|
2019-02-06 11:32:41 +00:00
|
|
|
"is_query_report": True,
|
|
|
|
"dependencies": ["Issue"],
|
2019-01-24 01:45:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Support Hours",
|
|
|
|
"doctype": "Issue",
|
2019-02-06 11:32:41 +00:00
|
|
|
"is_query_report": True,
|
|
|
|
"dependencies": ["Issue"]
|
2019-01-24 01:45:53 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Maintenance"),
|
|
|
|
"icon": "fa fa-star",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Maintenance Schedule",
|
|
|
|
"description": _("Plan for maintenance visits."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2019-01-24 01:45:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Maintenance Visit",
|
|
|
|
"description": _("Visit report for maintenance call."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Maintenance Schedules",
|
|
|
|
"is_query_report": True,
|
|
|
|
"doctype": "Maintenance Schedule"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Warranty Claim",
|
|
|
|
"description": _("Warranty Claim against Serial No."),
|
|
|
|
},
|
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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Lead",
|
|
|
|
"onboard": 1,
|
2017-04-14 11:19:22 +00:00
|
|
|
},
|
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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"is_query_report": True,
|
|
|
|
"onboard": 1,
|
2017-04-13 14:21:14 +00:00
|
|
|
},
|
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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"is_query_report": True,
|
|
|
|
"dependencies": ["Opportunity"]
|
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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Contact",
|
|
|
|
"dependencies": ["Customer"]
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Inactive Customers",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Sales Order",
|
|
|
|
"dependencies": ["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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Lead",
|
|
|
|
"dependencies": ["Lead"]
|
2017-04-25 13:31:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Lead Owner Efficiency",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Lead",
|
|
|
|
"dependencies": ["Lead"]
|
2017-04-25 13:31:27 +00:00
|
|
|
}
|
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": [
|
|
|
|
{
|
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."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
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."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
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."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Campaign",
|
|
|
|
"description": _("Sales campaigns."),
|
2015-02-17 05:06:54 +00:00
|
|
|
},
|
|
|
|
{
|
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
|
|
|
]
|
|
|
|
},
|
2019-01-24 01:45:53 +00:00
|
|
|
# {
|
|
|
|
# "label": _("Help"),
|
|
|
|
# "items": [
|
|
|
|
# {
|
|
|
|
# "type": "help",
|
|
|
|
# "label": _("Lead to Quotation"),
|
|
|
|
# "youtube_id": "TxYX4r4JAKA"
|
|
|
|
# },
|
|
|
|
# {
|
|
|
|
# "type": "help",
|
|
|
|
# "label": _("Newsletters"),
|
|
|
|
# "youtube_id": "muLKsCrrDRo"
|
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
# },
|
2015-02-17 05:06:54 +00:00
|
|
|
]
|