brotherton-erpnext/erpnext/config/stock.py

315 lines
5.8 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",
},
{
"type": "doctype",
"name": "Delivery Note",
},
{
"type": "doctype",
"name": "Purchase Receipt",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Material Request",
},
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",
},
{
"type": "report",
"is_query_report": True,
"name": "Stock Balance",
"doctype": "Stock Ledger Entry"
},
{
"type": "report",
"is_query_report": True,
"name": "Stock Projected Qty",
"doctype": "Item",
},
2017-02-01 12:47:35 +00:00
{
"type": "page",
"name": "stock-balance",
"label": _("Stock Summary")
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Stock Ageing",
"doctype": "Item",
},
]
},
{
"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",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Product Bundle",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Price List",
},
{
"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",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item Price",
"route": "Report/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",
},
{
"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",
},
{
"type": "doctype",
"name": "Batch",
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Installation Note",
},
{
"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",
},
{
"type": "doctype",
"name": "Packing Slip",
},
{
"type": "doctype",
"name": "Quality Inspection",
},
{
"type": "doctype",
"name": "Landed Cost Voucher",
2015-08-10 10:21:13 +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": "Stock Settings",
},
{
2016-03-08 12:36:21 +00:00
"type": "doctype",
"name": "Warehouse",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "UOM",
"label": _("Unit of Measure") + " (UOM)",
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item Attribute",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Brand",
},
{
"type": "doctype",
"name": "Item Variant Settings",
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": "report",
2016-03-08 12:36:21 +00:00
"is_query_report": False,
"name": "Item-wise Price List Rate",
"doctype": "Item Price",
2014-05-08 06:13:18 +00:00
},
{
2016-03-08 12:36:21 +00:00
"type": "page",
"name": "stock-analytics",
"label": _("Stock Analytics"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-bar-chart"
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
},
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": _("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": "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",
"name": "Item Shortage Report",
"route": "Report/Bin/Item Shortage Report",
"doctype": "Purchase Receipt"
},
{
"type": "report",
"is_query_report": True,
"name": "Requested Items To Be Transferred",
"doctype": "Material Request"
},
{
"type": "report",
"is_query_report": True,
"name": "Batch-Wise Balance History",
"doctype": "Batch"
},
{
"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"
},
]
},
{
"label": _("Help"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-facetime-video",
"items": [
{
"type": "help",
"label": _("Items and Pricing"),
"youtube_id": "qXaEwld4_Ps"
},
{
"type": "help",
"label": _("Item Variants"),
"youtube_id": "OGBETlCzU5o"
},
{
"type": "help",
"label": _("Opening Stock Balance"),
"youtube_id": "0yPgrtfeCTs"
},
{
"type": "help",
"label": _("Making Stock Entries"),
"youtube_id": "Njt107hlY3I"
},
{
"type": "help",
"label": _("Serialized Inventory"),
"youtube_id": "gvOVlEwFDAk"
},
{
"type": "help",
"label": _("Batch Inventory"),
"youtube_id": "J0QKl7ABPKM"
},
{
"type": "help",
"label": _("Managing Subcontracting"),
"youtube_id": "ThiMCC2DtKo"
},
]
}
2014-05-08 06:13:18 +00:00
]