blob: 2c18eeb83a11d0c92f9d149f637382db12d0cf2f [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Anand Doshi08ef4672014-05-08 11:43:18 +05304def get_data():
5 return [
6 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Bill of Materials"),
8 "items": [
9 {
10 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053011 "name": "Item",
12 "description": _("All Products or Services."),
13 "onboard": 1,
14 },
15 {
16 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053017 "name": "BOM",
18 "description": _("Bill of Materials (BOM)"),
Prateeksha Singh34234072019-02-07 09:18:24 +053019 "label": _("Bill of Materials"),
20 "onboard": 1,
21 "dependencies": ["Item"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053022 },
23 {
Saurabh52ec0ed2016-07-05 18:02:38 +053024 "type": "doctype",
Prateeksha Singh2c147042019-01-29 10:12:17 +053025 "name": "BOM Browser",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053026 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053027 "label": _("BOM Browser"),
28 "description": _("Tree of Bill of Materials"),
Saurabh52ec0ed2016-07-05 18:02:38 +053029 "link": "Tree/BOM",
Prateeksha Singh34234072019-02-07 09:18:24 +053030 "onboard": 1,
31 "dependencies": ["Item"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053032 },
Prateeksha Singh34234072019-02-07 09:18:24 +053033
Anand Doshi08ef4672014-05-08 11:43:18 +053034 {
35 "type": "doctype",
36 "name": "Workstation",
Neil Trini Lasradoe84fa672014-11-27 10:49:07 +053037 "description": _("Where manufacturing operations are carried."),
Anand Doshi08ef4672014-05-08 11:43:18 +053038 },
Neil Trini Lasrado637d8042014-10-16 15:05:30 +053039 {
40 "type": "doctype",
41 "name": "Operation",
42 "description": _("Details of the operations carried out."),
43 },
Prateeksha Singh34234072019-02-07 09:18:24 +053044 {
45 "type": "doctype",
46 "name": "Routing"
47 }
Anand Doshic5e057f2014-04-15 16:13:48 +053048
Anand Doshi08ef4672014-05-08 11:43:18 +053049 ]
50 },
51 {
Faris Ansari1d300872019-07-04 17:53:10 +053052 "label": _("Production"),
53 "icon": "fa fa-star",
54 "items": [
55 {
56 "type": "doctype",
57 "name": "Work Order",
58 "description": _("Orders released for production."),
59 "onboard": 1,
60 "dependencies": ["Item", "BOM"]
61 },
62 {
63 "type": "doctype",
64 "name": "Production Plan",
65 "description": _("Generate Material Requests (MRP) and Work Orders."),
66 "onboard": 1,
67 "dependencies": ["Item", "BOM"]
68 },
69 {
70 "type": "doctype",
71 "name": "Stock Entry",
72 "onboard": 1,
73 "dependencies": ["Item"]
74 },
75 {
76 "type": "doctype",
77 "name": "Timesheet",
78 "description": _("Time Sheet for manufacturing."),
79 "onboard": 1,
80 "dependencies": ["Activity Type"]
81 },
82 {
83 "type": "doctype",
84 "name": "Job Card"
85 }
86 ]
87 },
88 {
Anand Doshi08ef4672014-05-08 11:43:18 +053089 "label": _("Tools"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053090 "icon": "fa fa-wrench",
Anand Doshi08ef4672014-05-08 11:43:18 +053091 "items": [
92 {
93 "type": "doctype",
Nabin Haitadbf8ad2017-07-31 20:45:36 +053094 "name": "BOM Update Tool",
95 "description": _("Replace BOM and update latest price in all BOMs"),
Anand Doshi08ef4672014-05-08 11:43:18 +053096 },
Faris Ansari66064c72019-07-30 17:11:18 +053097 {
98 "type": "page",
99 "label": _("BOM Comparison Tool"),
100 "name": "bom-comparison-tool",
101 "description": _("Compare BOMs for changes in Raw Materials and Operations"),
102 "data_doctype": "BOM"
103 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530104 ]
105 },
106 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530107 "label": _("Settings"),
Rushabh Mehta99d09412015-02-24 14:41:12 +0530108 "items": [
109 {
110 "type": "doctype",
111 "name": "Manufacturing Settings",
112 "description": _("Global settings for all manufacturing processes."),
113 }
114 ]
115 },
116 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530117 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530118 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530119 "items": [
120 {
121 "type": "report",
122 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530123 "name": "Open Work Orders",
124 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530125 },
126 {
127 "type": "report",
128 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530129 "name": "Work Orders in Progress",
130 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530131 },
132 {
133 "type": "report",
134 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530135 "name": "Issued Items Against Work Order",
136 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530137 },
138 {
139 "type": "report",
140 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530141 "name": "Completed Work Orders",
142 "doctype": "Work Order"
Deepesh Garga057f4c2018-11-12 17:01:02 +0530143 },
144 {
145 "type": "report",
146 "is_query_report": True,
147 "name": "Production Analytics",
148 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530149 },
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530150 {
151 "type": "report",
152 "is_query_report": True,
153 "name": "BOM Search",
154 "doctype": "BOM"
Doridel Cahanap32456b02017-10-04 18:24:44 +0800155 },
156 {
157 "type": "report",
158 "is_query_report": True,
159 "name": "BOM Stock Report",
160 "doctype": "BOM"
Ben Cornwell-Mott94312422017-02-04 14:25:53 -0800161 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530162 ]
163 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530164 {
165 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530166 "icon": "fa fa-facetime-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530167 "items": [
168 {
169 "type": "help",
170 "label": _("Bill of Materials"),
171 "youtube_id": "hDV0c1OeWLo"
172 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530173 {
174 "type": "help",
Zarrar13ddc7e2018-03-20 12:38:43 +0530175 "label": _("Work Order"),
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530176 "youtube_id": "ZotgLyp2YFY"
177 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530178 ]
179 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530180 ]