brotherton-erpnext/erpnext/config/stock.py

362 lines
6.9 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": _("Stock Transactions"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Stock Entry",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item"],
2016-03-08 12:36:21 +00:00
},
{
"type": "doctype",
"name": "Delivery Note",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item", "Customer"],
2016-03-08 12:36:21 +00:00
},
{
"type": "doctype",
"name": "Purchase Receipt",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item", "Supplier"],
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Material Request",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item"],
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Pick List",
"onboard": 1,
"dependencies": ["Item"],
},
2019-02-07 03:48:24 +00:00
{
"type": "doctype",
"name": "Delivery Trip"
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Stock Reports"),
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Stock Ledger",
"doctype": "Stock Ledger Entry",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item"],
2016-03-08 12:36:21 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Stock Balance",
2019-02-06 11:32:41 +00:00
"doctype": "Stock Ledger Entry",
"onboard": 1,
"dependencies": ["Item"],
2016-03-08 12:36:21 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Stock Projected Qty",
"doctype": "Item",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item"],
2016-03-08 12:36:21 +00:00
},
2017-02-01 12:47:35 +00:00
{
"type": "page",
"name": "stock-balance",
2019-02-06 11:32:41 +00:00
"label": _("Stock Summary"),
"dependencies": ["Item"],
2017-02-01 12:47:35 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Stock Ageing",
"doctype": "Item",
2019-02-06 11:32:41 +00:00
"dependencies": ["Item"],
2016-03-08 12:36:21 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Item Price Stock",
"doctype": "Item",
2019-02-06 11:32:41 +00:00
"dependencies": ["Item"],
}
2016-03-08 12:36:21 +00:00
]
},
2019-02-07 03:48:24 +00:00
{
"label": _("Settings"),
2019-02-07 03:48:24 +00:00
"icon": "fa fa-cog",
"items": [
{
"type": "doctype",
"name": "Stock Settings",
"onboard": 1,
},
{
"type": "doctype",
"name": "Warehouse",
"onboard": 1,
},
{
"type": "doctype",
"name": "UOM",
"label": _("Unit of Measure") + " (UOM)",
"onboard": 1,
},
{
"type": "doctype",
"name": "Brand",
"onboard": 1,
},
{
"type": "doctype",
"name": "Item Attribute",
},
{
"type": "doctype",
"name": "Item Variant Settings",
},
]
},
2016-03-08 12:36:21 +00:00
{
"label": _("Items and Pricing"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item",
2019-02-06 11:32:41 +00:00
"onboard": 1,
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Product Bundle",
2019-02-06 11:32:41 +00:00
"onboard": 1,
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",
2019-02-06 11:32:41 +00:00
"onboard": 1,
},
{
"type": "doctype",
"name": "Price List",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item Price",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Shipping Rule",
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Pricing Rule",
},
2019-02-06 11:32:41 +00:00
{
"type": "doctype",
"name": "Item Alternative",
},
{
"type": "doctype",
"name": "Item Manufacturer",
},
{
"type": "doctype",
"name": "Item Variant Settings",
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Serial No and Batch"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Serial No",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item"],
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Batch",
2019-02-06 11:32:41 +00:00
"onboard": 1,
"dependencies": ["Item"],
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Installation Note",
2019-02-06 11:32:41 +00:00
"dependencies": ["Item"],
2016-03-08 12:36:21 +00:00
},
{
"type": "report",
"name": "Serial No Service Contract Expiry",
"doctype": "Serial No"
},
{
"type": "report",
"name": "Serial No Status",
"doctype": "Serial No"
},
{
"type": "report",
"name": "Serial No Warranty Expiry",
"doctype": "Serial No"
},
2014-05-08 06:13:18 +00:00
]
},
{
"label": _("Tools"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-wrench",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Stock Reconciliation",
2019-02-06 11:32:41 +00:00
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Landed Cost Voucher",
2019-02-06 11:32:41 +00:00
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Packing Slip",
2019-02-06 11:32:41 +00:00
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Quality Inspection",
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Quality Inspection Template",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Quick Stock Balance",
},
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",
2016-03-08 12:36:21 +00:00
"is_query_report": False,
"name": "Item-wise Price List Rate",
"doctype": "Item Price",
2019-02-06 11:32:41 +00:00
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Stock Analytics",
2019-02-06 11:32:41 +00:00
"doctype": "Stock Entry",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"name": "Delivery Note Trends",
"doctype": "Delivery Note"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"name": "Purchase Receipt Trends",
"doctype": "Purchase Receipt"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Ordered Items To Be Delivered",
"doctype": "Delivery Note"
},
{
"type": "report",
"is_query_report": True,
"name": "Purchase Order Items To Be Received",
"doctype": "Purchase Receipt"
},
{
"type": "report",
"is_query_report": True,
2014-05-08 06:13:18 +00:00
"name": "Item Shortage Report",
"doctype": "Bin"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
2019-02-07 03:48:24 +00:00
"name": "Batch-Wise Balance History",
"doctype": "Batch"
2014-05-08 06:13:18 +00:00
},
2019-02-07 03:48:24 +00:00
]
},
{
"label": _("Other Reports"),
"icon": "fa fa-list",
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "report",
"is_query_report": True,
2019-02-07 03:48:24 +00:00
"name": "Requested Items To Be Transferred",
"doctype": "Material Request"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Batch Item Expiry Status",
"doctype": "Stock Ledger Entry"
},
2014-05-08 06:13:18 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Item Prices",
"doctype": "Price List"
},
{
"type": "report",
"is_query_report": True,
"name": "Itemwise Recommended Reorder Level",
"doctype": "Item"
},
{
"type": "report",
"is_query_report": True,
"name": "Item Variant Details",
"doctype": "Item"
},
{
"type": "report",
"is_query_report": True,
"name": "Subcontracted Raw Materials To Be Transferred",
"doctype": "Purchase Order"
},
{
"type": "report",
"is_query_report": True,
"name": "Subcontracted Item To Be Received",
"doctype": "Purchase Order"
},
{
"type": "report",
"is_query_report": True,
"name": "Stock and Account Value Comparison",
"doctype": "Stock Ledger Entry"
}
2014-05-08 06:13:18 +00:00
]
},
2014-05-08 06:13:18 +00:00
]