brotherton-erpnext/erpnext/config/buying.py

246 lines
5.4 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 [
2019-02-07 03:48:24 +00:00
{
"label": _("Purchasing"),
"icon": "fa fa-star",
"items": [
{
"type": "doctype",
"name": "Material Request",
"onboard": 1,
"dependencies": ["Item"],
"description": _("Request for purchase."),
},
2019-02-07 03:48:24 +00:00
{
"type": "doctype",
"name": "Purchase Order",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
"description": _("Purchase Orders given to Suppliers."),
},
{
"type": "doctype",
"name": "Purchase Invoice",
"onboard": 1,
"dependencies": ["Item", "Supplier"]
},
2019-02-07 03:48:24 +00:00
{
"type": "doctype",
"name": "Request for Quotation",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
"description": _("Request for quotation."),
},
{
"type": "doctype",
"name": "Supplier Quotation",
"dependencies": ["Item", "Supplier"],
"description": _("Quotations received from Suppliers."),
},
]
},
2019-01-31 09:20:22 +00:00
{
"label": _("Items and Pricing"),
"items": [
{
"type": "doctype",
"name": "Item",
"onboard": 1,
"description": _("All Products or Services."),
},
{
"type": "doctype",
"name": "Item Price",
"description": _("Multiple Item prices."),
"onboard": 1,
2019-02-28 06:21:36 +00:00
"route": "#Report/Item Price"
2019-01-31 09:20:22 +00:00
},
2019-02-06 11:32:41 +00:00
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master.")
},
{
"type": "doctype",
"name": "Pricing Rule",
"description": _("Rules for applying pricing and discount.")
},
2019-01-31 09:20:22 +00:00
{
"type": "doctype",
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
},
{
"type": "doctype",
"name": "Item Group",
"icon": "fa fa-sitemap",
"label": _("Item Group"),
"link": "Tree/Item Group",
"description": _("Tree of Item Groups."),
},
{
"type": "doctype",
"name": "Promotional Scheme",
"description": _("Rules for applying different promotional schemes.")
}
2019-01-31 09:20:22 +00:00
]
},
2014-05-08 06:13:18 +00:00
{
"label": _("Settings"),
2019-02-07 03:48:24 +00:00
"icon": "fa fa-cog",
2014-05-08 06:13:18 +00:00
"items": [
2019-02-06 11:32:41 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Buying Settings",
"settings": 1,
2019-02-07 03:48:24 +00:00
"description": _("Default settings for buying transactions.")
2014-05-08 06:13:18 +00:00
},
2016-03-03 08:30:35 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Purchase Taxes and Charges Template",
"description": _("Tax template for buying transactions.")
2016-03-03 08:30:35 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name":"Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Supplier"),
"items": [
{
"type": "doctype",
"name": "Supplier",
2019-01-31 09:20:22 +00:00
"onboard": 1,
2016-03-08 12:36:21 +00:00
"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
]
},
{
2019-02-07 03:48:24 +00:00
"label": _("Key Reports"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-table",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Purchase Analytics",
2019-02-06 11:32:41 +00:00
"reference_doctype": "Purchase Order",
"onboard": 1
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Purchase Order Trends",
2019-02-06 11:32:41 +00:00
"reference_doctype": "Purchase Order",
"onboard": 1,
2016-03-08 12:36:21 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Procurement Tracker",
"reference_doctype": "Purchase Order",
"onboard": 1,
},
2019-02-07 03:48:24 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Requested Items To Be Ordered",
"reference_doctype": "Material Request",
"onboard": 1,
},
{
"type": "report",
"is_query_report": True,
"name": "Address And Contacts",
"label": _("Supplier Addresses And Contacts"),
"reference_doctype": "Address",
"route_options": {
"party_type": "Supplier"
}
}
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",
2019-02-06 11:32:41 +00:00
"reference_doctype": "Item",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
2019-02-06 11:32:41 +00:00
"name": "Item-wise Purchase History",
"reference_doctype": "Item",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Supplier-Wise Sales Analytics",
"reference_doctype": "Stock Ledger Entry",
"onboard": 1
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Material Requests for which Supplier Quotations are not created",
"reference_doctype": "Material Request"
}
2014-05-08 06:13:18 +00:00
]
},
2014-05-08 06:13:18 +00:00
]