311 lines
6.9 KiB
Python
311 lines
6.9 KiB
Python
from __future__ import unicode_literals
|
|
from frappe import _
|
|
|
|
def get_data():
|
|
return [
|
|
{
|
|
"label": _("Sales"),
|
|
"icon": "fa fa-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Customer",
|
|
"description": _("Customer database."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Quotation",
|
|
"description": _("Quotes to Leads or Customers."),
|
|
"onboard": 1,
|
|
"dependencies": ["Item", "Customer"],
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Order",
|
|
"description": _("Confirmed orders from Customers."),
|
|
"onboard": 1,
|
|
"dependencies": ["Item", "Customer"],
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Partner",
|
|
"description": _("Manage Sales Partners."),
|
|
"dependencies": ["Item"],
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"label": _("Sales Person"),
|
|
"name": "Sales Person",
|
|
"icon": "fa fa-sitemap",
|
|
"link": "Tree/Sales Person",
|
|
"description": _("Manage Sales Person Tree."),
|
|
"dependencies": ["Item", "Customer"],
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Territory Target Variance (Item Group-Wise)",
|
|
"route": "query-report/Territory Target Variance Item Group-Wise",
|
|
"doctype": "Territory",
|
|
},
|
|
{
|
|
"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",
|
|
"dependencies": ["Sales Person"],
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Items and Pricing"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Item",
|
|
"description": _("All Products or Services."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Item Price",
|
|
"description": _("Multiple Item prices."),
|
|
"route": "Report/Item Price",
|
|
"dependencies": ["Item", "Price List"],
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Price List",
|
|
"description": _("Price List master."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Item Group",
|
|
"icon": "fa fa-sitemap",
|
|
"label": _("Item Group"),
|
|
"link": "Tree/Item Group",
|
|
"description": _("Tree of Item Groups."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Product Bundle",
|
|
"description": _("Bundle items at time of sale."),
|
|
"dependencies": ["Item"],
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Pricing Rule",
|
|
"description": _("Rules for applying pricing and discount."),
|
|
"dependencies": ["Item"],
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Shipping Rule",
|
|
"description": _("Rules for adding shipping costs."),
|
|
},
|
|
|
|
]
|
|
},
|
|
{
|
|
"label": _("Setup"),
|
|
"icon": "fa fa-cog",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Selling Settings",
|
|
"description": _("Default settings for selling transactions."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name":"Terms and Conditions",
|
|
"label": _("Terms and Conditions Template"),
|
|
"description": _("Template of terms or contract."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Taxes and Charges Template",
|
|
"description": _("Tax template for selling transactions."),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Lead Source",
|
|
"description": _("Track Leads by Lead Source.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"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."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Campaign",
|
|
"description": _("Sales campaigns."),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Key Reports"),
|
|
"icon": "fa fa-table",
|
|
"items": [
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Sales Analytics",
|
|
"doctype": "Sales Order",
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "sales-funnel",
|
|
"label": _("Sales Funnel"),
|
|
"icon": "fa fa-bar-chart",
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customer Acquisition and Loyalty",
|
|
"doctype": "Customer",
|
|
"icon": "fa fa-bar-chart",
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Quotation Trends",
|
|
"doctype": "Quotation"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Sales Order Trends",
|
|
"doctype": "Sales Order"
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Other Reports"),
|
|
"icon": "fa fa-list",
|
|
"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"),
|
|
"doctype": "Address",
|
|
"route_options": {
|
|
"party_type": "Customer"
|
|
}
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "BOM Search",
|
|
"doctype": "BOM"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customer Credit Balance",
|
|
"doctype": "Customer"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customers Without Any Sales Transactions",
|
|
"doctype": "Customer"
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
]
|
|
},
|
|
]
|