brotherton-erpnext/erpnext/config/buying.py

236 lines
5.0 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": _("Purchasing"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-star",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Material Request",
"description": _("Request for purchase."),
},
2016-03-03 08:30:35 +00:00
{
"type": "doctype",
"name": "Request for Quotation",
"description": _("Request for quotation."),
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Supplier Quotation",
"description": _("Quotations received from Suppliers."),
},
{
"type": "doctype",
"name": "Purchase Order",
"description": _("Purchase Orders given to Suppliers."),
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Supplier"),
"items": [
{
"type": "doctype",
"name": "Supplier",
"description": _("Supplier database."),
},
{
"type": "doctype",
2018-04-19 13:07:29 +00:00
"name": "Supplier Group",
"description": _("Supplier Group master.")
2016-03-08 12:36:21 +00:00
},
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
]
},
{
"label": _("Setup"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-cog",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Buying Settings",
"description": _("Default settings for buying transactions.")
},
{
"type": "doctype",
"name":"Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
},
{
"type": "doctype",
"name": "Purchase Taxes and Charges Template",
2014-05-08 06:13:18 +00:00
"description": _("Tax template for buying transactions.")
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Items and Pricing"),
"items": [
{
"type": "doctype",
"name": "Item",
"description": _("All Products or Services."),
},
{
"type": "doctype",
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master.")
},
2016-03-08 12:36:21 +00:00
{
"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-05-08 06:13:18 +00:00
{
"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.")
},
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": _("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": "purchase-analytics",
"label": _("Purchase Analytics"),
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": "Supplier-Wise Sales Analytics",
"doctype": "Stock Ledger Entry"
},
{
"type": "report",
"is_query_report": True,
"name": "Purchase Order Trends",
"doctype": "Purchase Order"
},
2014-05-08 06:13:18 +00:00
]
},
{
"label": _("Supplier Scorecard"),
"items": [
{
"type": "doctype",
"name": "Supplier Scorecard",
"description": _("All Supplier scorecards."),
},
{
"type": "doctype",
"name": "Supplier Scorecard Variable",
"description": _("Templates of supplier scorecard variables.")
},
{
"type": "doctype",
"name": "Supplier Scorecard Criteria",
"description": _("Templates of supplier scorecard criteria."),
},
{
"type": "doctype",
"name": "Supplier Scorecard Standing",
"description": _("Templates of supplier standings."),
},
]
},
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": "Items To Be Requested",
"doctype": "Item"
},
{
"type": "report",
"is_query_report": True,
"name": "Requested Items To Be Ordered",
"doctype": "Material Request"
},
{
"type": "report",
"is_query_report": True,
"name": "Material Requests for which Supplier Quotations are not created",
"doctype": "Material Request"
},
{
"type": "report",
"is_query_report": True,
"name": "Item-wise Purchase History",
"doctype": "Item"
},
{
"type": "report",
"is_query_report": True,
2017-01-19 12:15:22 +00:00
"name": "Addresses And Contacts",
"label": "Supplier Addresses And Contacts",
"doctype": "Address",
"route_options": {
"party_type": "Supplier"
}
2014-05-08 06:13:18 +00:00
},
]
},
{
"label": _("Help"),
"items": [
{
"type": "help",
"label": _("Customer and Supplier"),
"youtube_id": "anoGi_RpQ20"
},
{
"type": "help",
"label": _("Material Request to Purchase Order"),
"youtube_id": "4TN9kPyfIqM"
},
{
"type": "help",
"label": _("Purchase Order to Payment"),
"youtube_id": "EK65tLdVUDk"
},
{
"type": "help",
"label": _("Managing Subcontracting"),
"youtube_id": "ThiMCC2DtKo"
},
]
},
2014-05-08 06:13:18 +00:00
]