blob: c79c5b8b117188c46bfcd7e52b299c1a3fb38cae [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 },
97 ]
98 },
99 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530100 "label": _("Settings"),
Rushabh Mehta99d09412015-02-24 14:41:12 +0530101 "items": [
102 {
103 "type": "doctype",
104 "name": "Manufacturing Settings",
105 "description": _("Global settings for all manufacturing processes."),
106 }
107 ]
108 },
109 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530110 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530111 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530112 "items": [
113 {
114 "type": "report",
115 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530116 "name": "Open Work Orders",
117 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530118 },
119 {
120 "type": "report",
121 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530122 "name": "Work Orders in Progress",
123 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530124 },
125 {
126 "type": "report",
127 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530128 "name": "Issued Items Against Work Order",
129 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530130 },
131 {
132 "type": "report",
133 "is_query_report": True,
Zarrar13ddc7e2018-03-20 12:38:43 +0530134 "name": "Completed Work Orders",
135 "doctype": "Work Order"
Deepesh Garga057f4c2018-11-12 17:01:02 +0530136 },
137 {
138 "type": "report",
139 "is_query_report": True,
140 "name": "Production Analytics",
141 "doctype": "Work Order"
Anand Doshi08ef4672014-05-08 11:43:18 +0530142 },
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530143 {
144 "type": "report",
145 "is_query_report": True,
146 "name": "BOM Search",
147 "doctype": "BOM"
Doridel Cahanap32456b02017-10-04 18:24:44 +0800148 },
149 {
150 "type": "report",
151 "is_query_report": True,
152 "name": "BOM Stock Report",
153 "doctype": "BOM"
Ben Cornwell-Mott94312422017-02-04 14:25:53 -0800154 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530155 ]
156 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530157 {
158 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530159 "icon": "fa fa-facetime-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530160 "items": [
161 {
162 "type": "help",
163 "label": _("Bill of Materials"),
164 "youtube_id": "hDV0c1OeWLo"
165 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530166 {
167 "type": "help",
Zarrar13ddc7e2018-03-20 12:38:43 +0530168 "label": _("Work Order"),
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530169 "youtube_id": "ZotgLyp2YFY"
170 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530171 ]
172 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530173 ]