2015-02-24 06:54:53 +00:00
|
|
|
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 [
|
|
|
|
{
|
|
|
|
"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"),
|
|
|
|
},
|
2014-07-22 09:13:14 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Newsletter",
|
|
|
|
"description": _("Newsletters to contacts, leads."),
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
},
|
2014-06-27 15:32:55 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Sales Partner",
|
|
|
|
"description": _("Manage Sales Partners."),
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"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 Master",
|
|
|
|
"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": "Sales BOM",
|
|
|
|
"description": _("Bundle items at time of sale."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2014-09-15 11:29:38 +00:00
|
|
|
"name": "Email Account",
|
2014-05-08 06:13:18 +00:00
|
|
|
"description": _("Setup incoming server for sales email id. (e.g. sales@example.com)")
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Industry Type",
|
|
|
|
"description": _("Track Leads by Industry Type.")
|
|
|
|
},
|
2014-05-28 10:55:54 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "SMS Settings",
|
|
|
|
"description": _("Setup SMS gateway settings")
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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,
|
2014-07-14 07:40:24 +00:00
|
|
|
"name": "Customer Addresses and Contacts",
|
2014-05-08 06:13:18 +00:00
|
|
|
"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": "Customers Not Buying Since Long Time",
|
|
|
|
"doctype": "Sales Order"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2014-06-05 10:44:28 +00:00
|
|
|
"name": "Quotation Trends",
|
2014-05-08 06:13:18 +00:00
|
|
|
"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"
|
|
|
|
},
|
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
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|