331 lines
7.4 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-03-03 15:05:28 +05:30
from frappe import _
2014-05-08 11:43:18 +05:30
def get_data():
return [
{
2016-03-08 18:06:21 +05:30
"label": _("Sales"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-star",
2014-05-08 11:43:18 +05:30
"items": [
2019-02-06 17:02:41 +05:30
{
"type": "doctype",
"name": "Customer",
"description": _("Customer Database."),
2019-02-06 17:02:41 +05:30
"onboard": 1,
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Quotation",
"description": _("Quotes to Leads or Customers."),
2019-02-06 17:02:41 +05:30
"onboard": 1,
"dependencies": ["Item", "Customer"],
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Sales Order",
"description": _("Confirmed orders from Customers."),
2019-02-06 17:02:41 +05:30
"onboard": 1,
"dependencies": ["Item", "Customer"],
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Sales Invoice",
"description": _("Invoices for Costumers."),
"onboard": 1,
"dependencies": ["Item", "Customer"],
},
{
"type": "doctype",
"name": "Blanket Order",
"description": _("Blanket Orders from Costumers."),
"onboard": 1,
"dependencies": ["Item", "Customer"],
},
2016-03-08 18:06:21 +05:30
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"name": "Sales Partner",
"description": _("Manage Sales Partners."),
"dependencies": ["Item"],
2016-03-08 18:06:21 +05:30
},
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"label": _("Sales Person"),
"name": "Sales Person",
2016-12-07 11:08:48 +05:30
"icon": "fa fa-sitemap",
2019-02-06 17:02:41 +05:30
"link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."),
"dependencies": ["Item", "Customer"],
2016-03-08 18:06:21 +05:30
},
2014-05-08 11:43:18 +05:30
{
2019-02-06 17:02:41 +05:30
"type": "report",
"is_query_report": True,
"name": "Territory Target Variance (Item Group-Wise)",
2019-02-28 11:51:36 +05:30
"route": "#query-report/Territory Target Variance Item Group-Wise",
2019-02-06 17:02:41 +05:30
"doctype": "Territory",
},
{
"type": "report",
"is_query_report": True,
"name": "Sales Person Target Variance (Item Group-Wise)",
2019-02-28 11:51:36 +05:30
"route": "#query-report/Sales Person Target Variance Item Group-Wise",
2019-02-06 17:02:41 +05:30
"doctype": "Sales Person",
"dependencies": ["Sales Person"],
2014-05-08 11:43:18 +05:30
},
]
},
{
2016-03-08 18:06:21 +05:30
"label": _("Items and Pricing"),
2014-05-08 11:43:18 +05:30
"items": [
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Item",
"description": _("All Products or Services."),
2019-02-06 17:02:41 +05:30
"onboard": 1,
2016-03-08 18:06:21 +05:30
},
2019-02-07 09:18:24 +05:30
{
"type": "doctype",
"name": "Item Price",
"description": _("Multiple Item prices."),
2019-02-28 11:51:36 +05:30
"route": "#Report/Item Price",
2019-02-07 09:18:24 +05:30
"dependencies": ["Item", "Price List"],
"onboard": 1,
},
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master."),
"onboard": 1,
},
2016-03-08 18:06:21 +05:30
{
"type": "doctype",
"name": "Item Group",
2016-12-07 11:08:48 +05:30
"icon": "fa fa-sitemap",
2016-03-08 18:06:21 +05:30
"label": _("Item Group"),
"link": "Tree/Item Group",
2016-03-08 18:06:21 +05:30
"description": _("Tree of Item Groups."),
2019-02-06 17:02:41 +05:30
"onboard": 1,
2014-07-22 14:43:14 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
"dependencies": ["Item"],
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"name": "Pricing Rule",
"description": _("Rules for applying pricing and discount."),
"dependencies": ["Item"],
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"name": "Shipping Rule",
"description": _("Rules for adding shipping costs."),
2014-05-08 11:43:18 +05:30
},
2019-02-06 17:02:41 +05:30
2016-03-08 18:06:21 +05:30
]
},
{
"label": _("Settings"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-cog",
2016-03-08 18:06:21 +05:30
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Selling Settings",
2019-02-06 17:02:41 +05:30
"description": _("Default settings for selling transactions."),
"settings": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name":"Terms and Conditions",
"label": _("Terms and Conditions Template"),
2019-02-07 09:18:24 +05:30
"description": _("Template of terms or contract."),
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Sales Taxes and Charges Template",
2019-02-07 09:18:24 +05:30
"description": _("Tax template for selling transactions."),
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"name": "Lead Source",
"description": _("Track Leads by Lead Source.")
2014-05-08 11:43:18 +05:30
},
2018-03-08 16:23:59 +05:30
{
"type": "doctype",
2019-02-06 17:02:41 +05:30
"label": _("Customer Group"),
"name": "Customer Group",
"icon": "fa fa-sitemap",
"link": "Tree/Customer Group",
"description": _("Manage Customer Group Tree."),
},
{
"type": "doctype",
"name": "Contact",
"description": _("All Contacts."),
},
{
"type": "doctype",
"name": "Address",
"description": _("All Addresses."),
},
{
"type": "doctype",
"label": _("Territory"),
"name": "Territory",
"icon": "fa fa-sitemap",
"link": "Tree/Territory",
"description": _("Manage Territory Tree."),
2018-03-08 16:23:59 +05:30
},
2019-02-07 09:18:24 +05:30
{
"type": "doctype",
"name": "Campaign",
"description": _("Sales campaigns."),
},
2014-05-08 11:43:18 +05:30
]
},
{
2019-02-07 09:18:24 +05:30
"label": _("Key Reports"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-table",
2014-05-08 11:43:18 +05:30
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Sales Analytics",
2019-02-06 17:02:41 +05:30
"doctype": "Sales Order",
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "page",
"name": "sales-funnel",
"label": _("Sales Funnel"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-bar-chart",
2019-02-06 17:02:41 +05:30
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "report",
"is_query_report": True,
"name": "Customer Acquisition and Loyalty",
"doctype": "Customer",
2016-12-07 11:08:48 +05:30
"icon": "fa fa-bar-chart",
2014-05-08 11:43:18 +05:30
},
2019-02-07 09:18:24 +05:30
{
"type": "report",
"is_query_report": True,
"name": "Inactive Customers",
"doctype": "Sales Order"
},
{
"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"
},
2016-03-08 18:06:21 +05:30
{
"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 11:43:18 +05:30
]
},
{
2016-03-08 18:06:21 +05:30
"label": _("Other Reports"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-list",
2014-05-08 11:43:18 +05:30
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Lead Details",
"doctype": "Lead"
},
{
"type": "report",
"is_query_report": True,
"name": "Address And Contacts",
"label": _("Customer Addresses And Contacts"),
2017-01-19 17:45:22 +05:30
"doctype": "Address",
"route_options": {
"party_type": "Customer"
}
2014-05-08 11:43:18 +05:30
},
2015-06-17 01:54:56 +05:30
{
"type": "report",
"is_query_report": True,
"name": "BOM Search",
"doctype": "BOM"
},
2014-05-08 11:43:18 +05:30
{
"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 15:49:17 +05:30
{
"type": "report",
"is_query_report": True,
"name": "Customer Credit Balance",
"doctype": "Customer"
},
2018-05-21 11:07:04 +05:30
{
"type": "report",
"is_query_report": True,
"name": "Customers Without Any Sales Transactions",
"doctype": "Customer"
},
{
"type": "report",
"is_query_report": True,
"name": "Sales Partners Commission",
"doctype": "Customer"
}
2014-05-08 11:43:18 +05:30
]
},
{
"label": _("Help"),
"items": [
{
"type": "help",
"label": _("Customer and Supplier"),
"youtube_id": "anoGi_RpQ20"
},
{
"type": "help",
"label": _("Sales Order to Payment"),
2019-03-22 14:46:12 +05:30
"youtube_id": "1eP90MWoDQM"
},
{
"type": "help",
"label": _("Point-of-Sale"),
"youtube_id": "4WkelWkbP_c"
},
]
},
2014-05-08 11:43:18 +05:30
]