brotherton-erpnext/erpnext/config/crm.py

237 lines
5.2 KiB
Python
Raw Normal View History

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.")
},
{
"type": "doctype",
"name": "Contract",
"description": _("Helps you keep tracks of Contracts based on Supplier, Customer and Employee"),
},
2019-11-15 06:28:21 +00:00
{
"type": "doctype",
"name": "Appointment",
"description" : _("Helps you manage appointments with your leads"),
},
{
"type": "doctype",
"name": "Newsletter",
"label": _("Newsletter"),
}
2019-01-24 01:45:53 +00:00
]
},
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
},
{
"type": "report",
"name": "Prospects Engaged But Not Converted",
"doctype": "Lead",
2019-02-06 11:32:41 +00:00
"is_query_report": True,
"onboard": 1,
},
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,
"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"]
2020-02-27 07:46:53 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Territory-wise Sales",
"doctype": "Opportunity",
"dependencies": ["Opportunity"]
2017-04-25 13:31:27 +00:00
}
2015-02-17 05:06:54 +00:00
]
},
{
"label": _("Settings"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-cog",
2015-02-17 05:06:54 +00:00
"items": [
{
"type": "doctype",
2015-02-17 05:06:54 +00:00
"label": _("Customer Group"),
"name": "Customer Group",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
"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
},
{
"type": "doctype",
2015-02-17 05:06:54 +00:00
"label": _("Territory"),
"name": "Territory",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
"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
},
{
"type": "doctype",
2015-02-17 05:06:54 +00:00
"label": _("Sales Person"),
"name": "Sales Person",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
"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
},
{
"type": "doctype",
"name": "Email Campaign",
"description": _("Sends Mails to lead or contact based on a Campaign schedule"),
},
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")
},
{
"type": "doctype",
"label": _("Email Group"),
"name": "Email Group",
2016-03-08 12:36:21 +00:00
}
2015-02-17 05:06:54 +00:00
]
},
2019-02-07 03:48:24 +00:00
{
"label": _("Maintenance"),
"icon": "fa fa-star",
"items": [
{
"type": "doctype",
"name": "Maintenance Schedule",
"description": _("Plan for maintenance visits."),
"onboard": 1,
},
{
"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."),
},
]
},
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
]