brotherton-erpnext/erpnext/config/manufacturing.py

152 lines
3.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": _("Production"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-star",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Work Order",
2016-03-08 12:36:21 +00:00
"description": _("Orders released for production."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Production Plan",
"description": _("Generate Material Requests (MRP) and Work Orders."),
2016-03-08 12:36:21 +00:00
},
{
"type": "doctype",
"name": "Stock Entry",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-07-11 08:54:52 +00:00
"name": "Timesheet",
"description": _("Time Sheet for manufacturing."),
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Bill of Materials"),
"items": [
{
"type": "doctype",
"name": "BOM",
"description": _("Bill of Materials (BOM)"),
"label": _("Bill of Materials")
},
{
"type": "doctype",
"name": "BOM",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
2016-03-08 12:36:21 +00:00
"label": _("BOM Browser"),
"description": _("Tree of Bill of Materials"),
"link": "Tree/BOM",
2016-03-08 12:36:21 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Item",
"description": _("All Products or Services."),
},
{
"type": "doctype",
"name": "Workstation",
"description": _("Where manufacturing operations are carried."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Operation",
"description": _("Details of the operations carried out."),
},
2014-04-15 10:43:48 +00:00
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": "BOM Update Tool",
"description": _("Replace BOM and update latest price in all BOMs"),
2014-05-08 06:13:18 +00:00
},
]
},
2015-02-24 09:11:12 +00:00
{
"label": _("Setup"),
"items": [
{
"type": "doctype",
"name": "Manufacturing Settings",
"description": _("Global settings for all manufacturing processes."),
}
]
},
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": "Open Work Orders",
"doctype": "Work Order"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Work Orders in Progress",
"doctype": "Work Order"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Issued Items Against Work Order",
"doctype": "Work Order"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Completed Work Orders",
"doctype": "Work Order"
2017-02-04 22:25:53 +00:00
},{
"type": "page",
"name": "production-analytics",
"label": _("Production Analytics"),
"icon": "fa fa-bar-chart",
2014-05-08 06:13:18 +00:00
},
2015-06-16 20:24:56 +00:00
{
"type": "report",
"is_query_report": True,
"name": "BOM Search",
"doctype": "BOM"
},
{
"type": "report",
"is_query_report": True,
"name": "BOM Stock Report",
"doctype": "BOM"
2017-02-04 22:25:53 +00:00
}
2014-05-08 06:13:18 +00:00
]
},
{
"label": _("Help"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-facetime-video",
"items": [
{
"type": "help",
"label": _("Bill of Materials"),
"youtube_id": "hDV0c1OeWLo"
},
{
"type": "help",
"label": _("Work Order"),
"youtube_id": "ZotgLyp2YFY"
},
]
}
2014-05-08 06:13:18 +00:00
]