brotherton-erpnext/erpnext/config/selling.py

327 lines
7.1 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-03-03 09:35:28 +00:00
from frappe import _
2014-05-08 06:13:18 +00:00
def get_data():
return [
{
2016-03-08 12:36:21 +00:00
"label": _("Sales"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-star",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Quotation",
"description": _("Quotes to Leads or Customers."),
},
{
"type": "doctype",
"name": "Sales Order",
"description": _("Confirmed orders from Customers."),
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Customers"),
"items": [
{
"type": "doctype",
"name": "Customer",
"description": _("Customer database."),
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"label": _("Customer Group"),
"name": "Customer Group",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
"link": "Tree/Customer Group",
2016-03-08 12:36:21 +00:00
"description": _("Manage Customer Group Tree."),
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Contact",
"description": _("All Contacts."),
},
{
"type": "doctype",
"name": "Address",
"description": _("All Addresses."),
},
2016-03-08 12:36:21 +00:00
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Items and Pricing"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item",
"description": _("All Products or Services."),
2014-05-08 06:13:18 +00:00
},
2015-07-22 05:58:21 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
2015-07-22 05:58:21 +00:00
},
2014-07-22 09:13:14 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Price List",
"description": _("Price List master.")
},
{
"type": "doctype",
"name": "Item Group",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
2016-03-08 12:36:21 +00:00
"label": _("Item Group"),
"link": "Tree/Item Group",
2016-03-08 12:36:21 +00:00
"description": _("Tree of Item Groups."),
2014-07-22 09:13:14 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item Price",
"description": _("Multiple Item prices."),
"route": "Report/Item Price"
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Shipping Rule",
"description": _("Rules for adding shipping costs.")
2014-05-08 06:13:18 +00:00
},
{
2016-03-08 12:36:21 +00:00
"type": "doctype",
"name": "Pricing Rule",
"description": _("Rules for applying pricing and discount.")
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Sales Partners and Territory"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2014-05-08 06:13:18 +00:00
"label": _("Territory"),
"name": "Territory",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
"link": "Tree/Territory",
2014-05-08 06:13:18 +00:00
"description": _("Manage Territory Tree."),
},
{
"type": "doctype",
"name": "Sales Partner",
"description": _("Manage Sales Partners."),
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2014-05-08 06:13:18 +00:00
"label": _("Sales Person"),
"name": "Sales Person",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
"link": "Tree/Sales Person",
2014-05-08 06:13:18 +00:00
"description": _("Manage Sales Person Tree."),
},
2017-01-19 12:15:22 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Addresses And Contacts",
"label": "Sales Partner Addresses And Contacts",
"doctype": "Address",
"route_options": {
"party_type": "Sales Partner"
}
},
2014-05-08 06:13:18 +00:00
{
2016-03-08 12:36:21 +00:00
"type": "report",
"is_query_report": True,
"name": "Territory Target Variance (Item Group-Wise)",
"route": "query-report/Territory Target Variance Item Group-Wise",
"doctype": "Territory"
2014-05-08 06:13:18 +00:00
},
{
2016-03-08 12:36:21 +00:00
"type": "report",
"is_query_report": True,
"name": "Sales Person Target Variance (Item Group-Wise)",
"route": "query-report/Sales Person Target Variance Item Group-Wise",
"doctype": "Sales Person",
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Setup"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-cog",
2016-03-08 12:36:21 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Selling Settings",
"description": _("Default settings for selling transactions.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Campaign",
"description": _("Sales campaigns."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name":"Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Sales Taxes and Charges Template",
"description": _("Tax template for selling transactions.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Industry Type",
"description": _("Track Leads by Industry Type.")
},
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Analytics"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-table",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "page",
"name": "sales-analytics",
"label": _("Sales Analytics"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-bar-chart",
2014-05-08 06:13:18 +00:00
},
{
"type": "page",
"name": "sales-funnel",
"label": _("Sales Funnel"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-bar-chart",
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Customer Acquisition and Loyalty",
"doctype": "Customer",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-bar-chart",
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Quotation Trends",
"doctype": "Quotation"
},
{
"type": "report",
"is_query_report": True,
"name": "Sales Order Trends",
"doctype": "Sales Order"
},
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Other Reports"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-list",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Lead Details",
"doctype": "Lead"
},
{
"type": "report",
"is_query_report": True,
2017-01-19 12:15:22 +00:00
"name": "Addresses And Contacts",
"label": "Customer Addresses And Contacts",
"doctype": "Address",
"route_options": {
"party_type": "Customer"
}
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Ordered Items To Be Delivered",
"doctype": "Sales Order"
},
{
"type": "report",
"is_query_report": True,
"name": "Sales Person-wise Transaction Summary",
"doctype": "Sales Order"
},
{
"type": "report",
"is_query_report": True,
"name": "Item-wise Sales History",
"doctype": "Item"
},
2015-06-16 20:24:56 +00:00
{
"type": "report",
"is_query_report": True,
"name": "BOM Search",
"doctype": "BOM"
},
2014-05-08 06:13:18 +00:00
{
"type": "report",
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"name": "Inactive Customers",
2014-05-08 06:13:18 +00:00
"doctype": "Sales Order"
},
{
"type": "report",
"is_query_report": True,
"name": "Available Stock for Packing Items",
"doctype": "Item",
},
{
"type": "report",
"is_query_report": True,
"name": "Pending SO Items For Purchase Request",
"doctype": "Sales Order"
},
2014-10-30 10:19:17 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Customer Credit Balance",
"doctype": "Customer"
},
2014-05-08 06:13:18 +00:00
]
},
2016-03-08 12:36:21 +00:00
{
"label": _("SMS"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-wrench",
2016-03-08 12:36:21 +00:00
"items": [
{
"type": "doctype",
"name": "SMS Center",
"description":_("Send mass SMS to your contacts"),
},
{
"type": "doctype",
"name": "SMS Log",
"description":_("Logs for maintaining sms delivery status"),
},
{
"type": "doctype",
"name": "SMS Settings",
"description": _("Setup SMS gateway settings")
},
]
},
{
"label": _("Help"),
"items": [
{
"type": "help",
"label": _("Customer and Supplier"),
"youtube_id": "anoGi_RpQ20"
},
{
"type": "help",
"label": _("Sales Order to Payment"),
"youtube_id": "7AMq4lqkN4A"
},
{
"type": "help",
"label": _("Point-of-Sale"),
"youtube_id": "4WkelWkbP_c"
},
]
},
2014-05-08 06:13:18 +00:00
]