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 [
|
|
|
|
{
|
2019-07-04 12:23:10 +00:00
|
|
|
"label": _("Bill of Materials"),
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Item",
|
|
|
|
"description": _("All Products or Services."),
|
2019-02-07 03:48:24 +00:00
|
|
|
"onboard": 1,
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "BOM",
|
|
|
|
"description": _("Bill of Materials (BOM)"),
|
|
|
|
"label": _("Bill of Materials"),
|
2019-02-07 03:48:24 +00:00
|
|
|
"onboard": 1,
|
2019-07-04 12:23:10 +00:00
|
|
|
"dependencies": ["Item"]
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "BOM Browser",
|
|
|
|
"icon": "fa fa-sitemap",
|
|
|
|
"label": _("BOM Browser"),
|
|
|
|
"description": _("Tree of Bill of Materials"),
|
|
|
|
"link": "Tree/BOM",
|
2019-02-07 03:48:24 +00:00
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item"]
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2019-07-04 12:23:10 +00:00
|
|
|
|
2015-02-23 14:48:38 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Workstation",
|
|
|
|
"description": _("Where manufacturing operations are carried."),
|
2015-02-23 14:48:38 +00:00
|
|
|
},
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Operation",
|
|
|
|
"description": _("Details of the operations carried out."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Routing"
|
2019-02-07 03:48:24 +00:00
|
|
|
}
|
2019-07-04 12:23:10 +00:00
|
|
|
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-04 12:23:10 +00:00
|
|
|
"label": _("Production"),
|
|
|
|
"icon": "fa fa-star",
|
2016-03-08 12:36:21 +00:00
|
|
|
"items": [
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Work Order",
|
|
|
|
"description": _("Orders released for production."),
|
2019-02-07 03:48:24 +00:00
|
|
|
"onboard": 1,
|
2019-07-04 12:23:10 +00:00
|
|
|
"dependencies": ["Item", "BOM"]
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Production Plan",
|
|
|
|
"description": _("Generate Material Requests (MRP) and Work Orders."),
|
2019-02-07 03:48:24 +00:00
|
|
|
"onboard": 1,
|
2019-07-04 12:23:10 +00:00
|
|
|
"dependencies": ["Item", "BOM"]
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
|
|
|
{
|
2016-07-05 12:32:38 +00:00
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Stock Entry",
|
2019-02-07 03:48:24 +00:00
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item"]
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2014-10-16 09:35:30 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Timesheet",
|
|
|
|
"description": _("Time Sheet for manufacturing."),
|
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Activity Type"]
|
2014-10-16 09:35:30 +00:00
|
|
|
},
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-04 12:23:10 +00:00
|
|
|
"name": "Job Card"
|
2019-02-07 03:48:24 +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",
|
2017-07-31 15:15:36 +00:00
|
|
|
"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
|
|
|
{
|
2019-02-11 09:44:50 +00:00
|
|
|
"label": _("Settings"),
|
2015-02-24 09:11:12 +00:00
|
|
|
"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,
|
2018-03-20 07:08:43 +00:00
|
|
|
"name": "Open Work Orders",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 07:08:43 +00:00
|
|
|
"name": "Work Orders in Progress",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 07:08:43 +00:00
|
|
|
"name": "Issued Items Against Work Order",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 07:08:43 +00:00
|
|
|
"name": "Completed Work Orders",
|
|
|
|
"doctype": "Work Order"
|
2018-11-12 11:31:02 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Production Analytics",
|
|
|
|
"doctype": "Work Order"
|
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"
|
2017-10-04 10:24:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
]
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
{
|
|
|
|
"label": _("Help"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-facetime-video",
|
2015-05-25 13:00:53 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Bill of Materials"),
|
|
|
|
"youtube_id": "hDV0c1OeWLo"
|
|
|
|
},
|
2015-10-27 11:31:27 +00:00
|
|
|
{
|
|
|
|
"type": "help",
|
2018-03-20 07:08:43 +00:00
|
|
|
"label": _("Work Order"),
|
2015-10-27 11:31:27 +00:00
|
|
|
"youtube_id": "ZotgLyp2YFY"
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
]
|
|
|
|
}
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|