300 lines
6.8 KiB
Python
300 lines
6.8 KiB
Python
from __future__ import unicode_literals
|
|
from frappe import _
|
|
|
|
def get_data():
|
|
return [
|
|
{
|
|
"label": _("Documents"),
|
|
"icon": "icon-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Customer",
|
|
"description": _("Customer database."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Quotation",
|
|
"description": _("Quotes to Leads or Customers."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Order",
|
|
"description": _("Confirmed orders from Customers."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Contact",
|
|
"description": _("All Contacts."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Address",
|
|
"description": _("All Addresses."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Item",
|
|
"description": _("All Products or Services."),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Tools"),
|
|
"icon": "icon-wrench",
|
|
"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": "Newsletter",
|
|
"description": _("Newsletters to contacts, leads."),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Setup"),
|
|
"icon": "icon-cog",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Selling Settings",
|
|
"description": _("Default settings for selling transactions.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Campaign",
|
|
"description": _("Sales campaigns."),
|
|
},
|
|
{
|
|
"type": "page",
|
|
"label": _("Customer Group"),
|
|
"name": "Sales Browser",
|
|
"icon": "icon-sitemap",
|
|
"link": "Sales Browser/Customer Group",
|
|
"description": _("Manage Customer Group Tree."),
|
|
"doctype": "Customer Group",
|
|
},
|
|
{
|
|
"type": "page",
|
|
"label": _("Territory"),
|
|
"name": "Sales Browser",
|
|
"icon": "icon-sitemap",
|
|
"link": "Sales Browser/Territory",
|
|
"description": _("Manage Territory Tree."),
|
|
"doctype": "Territory",
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Partner",
|
|
"description": _("Manage Sales Partners."),
|
|
},
|
|
{
|
|
"type": "page",
|
|
"label": _("Sales Person"),
|
|
"name": "Sales Browser",
|
|
"icon": "icon-sitemap",
|
|
"link": "Sales Browser/Sales Person",
|
|
"description": _("Manage Sales Person Tree."),
|
|
"doctype": "Sales Person",
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "Sales Browser",
|
|
"icon": "icon-sitemap",
|
|
"label": _("Item Group Tree"),
|
|
"link": "Sales Browser/Item Group",
|
|
"description": _("Tree of Item Groups."),
|
|
"doctype": "Item Group",
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name":"Terms and Conditions",
|
|
"label": _("Terms and Conditions Template"),
|
|
"description": _("Template of terms or contract.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Taxes and Charges Template",
|
|
"description": _("Tax template for selling transactions.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Shipping Rule",
|
|
"description": _("Rules for adding shipping costs.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Price List",
|
|
"description": _("Price List master.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Item Price",
|
|
"description": _("Multiple Item prices."),
|
|
"route": "Report/Item Price"
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Pricing Rule",
|
|
"description": _("Rules for applying pricing and discount.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Product Bundle",
|
|
"description": _("Bundle items at time of sale."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Email Account",
|
|
"description": _("Setup incoming server for sales email id. (e.g. sales@example.com)")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Industry Type",
|
|
"description": _("Track Leads by Industry Type.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "SMS Settings",
|
|
"description": _("Setup SMS gateway settings")
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Main Reports"),
|
|
"icon": "icon-table",
|
|
"items": [
|
|
{
|
|
"type": "page",
|
|
"name": "sales-analytics",
|
|
"label": _("Sales Analytics"),
|
|
"icon": "icon-bar-chart",
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "sales-funnel",
|
|
"label": _("Sales Funnel"),
|
|
"icon": "icon-bar-chart",
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customer Acquisition and Loyalty",
|
|
"doctype": "Customer",
|
|
"icon": "icon-bar-chart",
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Standard Reports"),
|
|
"icon": "icon-list",
|
|
"items": [
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Lead Details",
|
|
"doctype": "Lead"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customer Addresses And Contacts",
|
|
"doctype": "Contact"
|
|
},
|
|
{
|
|
"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": "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",
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "BOM Search",
|
|
"doctype": "BOM"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customers Not Buying Since Long Time",
|
|
"doctype": "Sales Order"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Quotation Trends",
|
|
"doctype": "Quotation"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Sales Order Trends",
|
|
"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"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Customer Credit Balance",
|
|
"doctype": "Customer"
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Help"),
|
|
"items": [
|
|
{
|
|
"type": "help",
|
|
"label": _("Customer and Supplier"),
|
|
"youtube_id": "anoGi_RpQ20"
|
|
},
|
|
]
|
|
},
|
|
]
|