2015-02-24 06:54:53 +00:00
|
|
|
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 [
|
|
|
|
{
|
|
|
|
"label": _("Documents"),
|
|
|
|
"icon": "icon-star",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "BOM",
|
|
|
|
"description": _("Bill of Materials (BOM)"),
|
|
|
|
"label": _("Bill of Material")
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Production Order",
|
|
|
|
"description": _("Orders released for production."),
|
|
|
|
},
|
2015-02-23 14:48:38 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Time Log",
|
|
|
|
"description": _("Time Logs for manufacturing."),
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Item",
|
|
|
|
"description": _("All Products or Services."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Workstation",
|
2014-11-27 05:19:07 +00:00
|
|
|
"description": _("Where manufacturing operations are carried."),
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2014-10-16 09:35:30 +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"),
|
|
|
|
"icon": "icon-wrench",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Production Planning Tool",
|
|
|
|
"description": _("Generate Material Requests (MRP) and Production Orders."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "BOM Replace Tool",
|
|
|
|
"description": _("Replace Item / BOM in all BOMs"),
|
|
|
|
},
|
2015-05-26 07:10:57 +00:00
|
|
|
{
|
|
|
|
"type": "page",
|
|
|
|
"name": "bom-browser",
|
|
|
|
"icon": "icon-sitemap",
|
|
|
|
"label": _("BOM Browser"),
|
|
|
|
"description": _("Tree of Bill of Materials"),
|
|
|
|
"doctype": "BOM"
|
|
|
|
}
|
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
|
|
|
{
|
|
|
|
"label": _("Standard Reports"),
|
|
|
|
"icon": "icon-list",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Open Production Orders",
|
|
|
|
"doctype": "Production Order"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Production Orders in Progress",
|
|
|
|
"doctype": "Production Order"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Issued Items Against Production Order",
|
|
|
|
"doctype": "Production Order"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Completed Production Orders",
|
|
|
|
"doctype": "Production Order"
|
|
|
|
},
|
2015-06-16 20:24:56 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "BOM Search",
|
|
|
|
"doctype": "BOM"
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
{
|
|
|
|
"label": _("Help"),
|
|
|
|
"icon": "icon-facetime-video",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Bill of Materials"),
|
|
|
|
"youtube_id": "hDV0c1OeWLo"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|