2015-02-24 12:24:53 +05:30
|
|
|
from __future__ import unicode_literals
|
2014-03-03 15:05:28 +05:30
|
|
|
from frappe import _
|
|
|
|
|
2014-05-08 11:43:18 +05:30
|
|
|
def get_data():
|
|
|
|
return [
|
|
|
|
{
|
2016-03-08 18:06:21 +05:30
|
|
|
"label": _("Production"),
|
2016-12-07 11:08:48 +05:30
|
|
|
"icon": "fa fa-star",
|
2014-05-08 11:43:18 +05:30
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-03-20 12:38:43 +05:30
|
|
|
"name": "Work Order",
|
2016-03-08 18:06:21 +05:30
|
|
|
"description": _("Orders released for production."),
|
2019-02-07 09:18:24 +05:30
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item", "BOM"]
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-02-20 12:20:00 +05:30
|
|
|
"name": "Production Plan",
|
2018-03-20 12:38:43 +05:30
|
|
|
"description": _("Generate Material Requests (MRP) and Work Orders."),
|
2019-02-07 09:18:24 +05:30
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item", "BOM"]
|
2016-03-08 18:06:21 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Stock Entry",
|
2019-02-07 09:18:24 +05:30
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item"]
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
2015-02-23 20:18:38 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-07-11 14:24:52 +05:30
|
|
|
"name": "Timesheet",
|
2016-06-03 14:44:35 +05:30
|
|
|
"description": _("Time Sheet for manufacturing."),
|
2019-02-07 09:18:24 +05:30
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Activity Type"]
|
2015-02-23 20:18:38 +05:30
|
|
|
},
|
2019-02-07 09:18:24 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Job Card"
|
|
|
|
}
|
2016-03-08 18:06:21 +05:30
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Bill of Materials"),
|
|
|
|
"items": [
|
2019-02-07 09:18:24 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Item",
|
|
|
|
"description": _("All Products or Services."),
|
|
|
|
"onboard": 1,
|
|
|
|
},
|
2016-03-08 18:06:21 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "BOM",
|
|
|
|
"description": _("Bill of Materials (BOM)"),
|
2019-02-07 09:18:24 +05:30
|
|
|
"label": _("Bill of Materials"),
|
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item"]
|
2016-03-08 18:06:21 +05:30
|
|
|
},
|
|
|
|
{
|
2016-07-05 18:02:38 +05:30
|
|
|
"type": "doctype",
|
2019-01-29 10:12:17 +05:30
|
|
|
"name": "BOM Browser",
|
2016-12-07 11:08:48 +05:30
|
|
|
"icon": "fa fa-sitemap",
|
2016-03-08 18:06:21 +05:30
|
|
|
"label": _("BOM Browser"),
|
|
|
|
"description": _("Tree of Bill of Materials"),
|
2016-07-05 18:02:38 +05:30
|
|
|
"link": "Tree/BOM",
|
2019-02-07 09:18:24 +05:30
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item"]
|
2016-03-08 18:06:21 +05:30
|
|
|
},
|
2019-02-07 09:18:24 +05:30
|
|
|
|
2014-05-08 11:43:18 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Workstation",
|
2014-11-27 10:49:07 +05:30
|
|
|
"description": _("Where manufacturing operations are carried."),
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
2014-10-16 15:05:30 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Operation",
|
|
|
|
"description": _("Details of the operations carried out."),
|
|
|
|
},
|
2019-02-07 09:18:24 +05:30
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Routing"
|
|
|
|
}
|
2014-04-15 16:13:48 +05:30
|
|
|
|
2014-05-08 11:43:18 +05:30
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Tools"),
|
2016-12-07 11:08:48 +05:30
|
|
|
"icon": "fa fa-wrench",
|
2014-05-08 11:43:18 +05:30
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2017-07-31 20:45:36 +05:30
|
|
|
"name": "BOM Update Tool",
|
|
|
|
"description": _("Replace BOM and update latest price in all BOMs"),
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2015-02-24 14:41:12 +05:30
|
|
|
{
|
|
|
|
"label": _("Setup"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Manufacturing Settings",
|
|
|
|
"description": _("Global settings for all manufacturing processes."),
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2014-05-08 11:43:18 +05:30
|
|
|
{
|
2016-03-08 18:06:21 +05:30
|
|
|
"label": _("Reports"),
|
2016-12-07 11:08:48 +05:30
|
|
|
"icon": "fa fa-list",
|
2014-05-08 11:43:18 +05:30
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 12:38:43 +05:30
|
|
|
"name": "Open Work Orders",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 12:38:43 +05:30
|
|
|
"name": "Work Orders in Progress",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 12:38:43 +05:30
|
|
|
"name": "Issued Items Against Work Order",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-03-20 12:38:43 +05:30
|
|
|
"name": "Completed Work Orders",
|
|
|
|
"doctype": "Work Order"
|
2018-11-12 17:01:02 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Production Analytics",
|
|
|
|
"doctype": "Work Order"
|
2014-05-08 11:43:18 +05:30
|
|
|
},
|
2015-06-17 01:54:56 +05:30
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "BOM Search",
|
|
|
|
"doctype": "BOM"
|
2017-10-04 18:24:44 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "BOM Stock Report",
|
|
|
|
"doctype": "BOM"
|
2017-02-04 14:25:53 -08:00
|
|
|
}
|
2014-05-08 11:43:18 +05:30
|
|
|
]
|
|
|
|
},
|
2015-05-25 18:30:53 +05:30
|
|
|
{
|
|
|
|
"label": _("Help"),
|
2016-12-07 11:08:48 +05:30
|
|
|
"icon": "fa fa-facetime-video",
|
2015-05-25 18:30:53 +05:30
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Bill of Materials"),
|
|
|
|
"youtube_id": "hDV0c1OeWLo"
|
|
|
|
},
|
2015-10-27 17:01:27 +05:30
|
|
|
{
|
|
|
|
"type": "help",
|
2018-03-20 12:38:43 +05:30
|
|
|
"label": _("Work Order"),
|
2015-10-27 17:01:27 +05:30
|
|
|
"youtube_id": "ZotgLyp2YFY"
|
|
|
|
},
|
2015-05-25 18:30:53 +05:30
|
|
|
]
|
|
|
|
}
|
2014-05-08 11:43:18 +05:30
|
|
|
]
|