blob: da6055022160ef08252e8bd06445026600f42c5e [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": _("Production"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +05308 "icon": "fa fa-star",
Anand Doshi08ef4672014-05-08 11:43:18 +05309 "items": [
10 {
11 "type": "doctype",
Zarrar13ddc7e2018-03-20 12:38:43 +053012 "name": "Work Order",
Anand Doshi08ef4672014-05-08 11:43:18 +053013 "description": _("Orders released for production."),
Prateeksha Singh34234072019-02-07 09:18:24 +053014 "onboard": 1,
15 "dependencies": ["Item", "BOM"]
Anand Doshi08ef4672014-05-08 11:43:18 +053016 },
17 {
18 "type": "doctype",
rohitwaghchauree2558302018-02-20 12:20:00 +053019 "name": "Production Plan",
Zarrar13ddc7e2018-03-20 12:38:43 +053020 "description": _("Generate Material Requests (MRP) and Work Orders."),
Prateeksha Singh34234072019-02-07 09:18:24 +053021 "onboard": 1,
22 "dependencies": ["Item", "BOM"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053023 },
24 {
25 "type": "doctype",
26 "name": "Stock Entry",
Prateeksha Singh34234072019-02-07 09:18:24 +053027 "onboard": 1,
28 "dependencies": ["Item"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053029 },
30 {
31 "type": "doctype",
Rohit Waghchaure3e012b72016-07-11 14:24:52 +053032 "name": "Timesheet",
Rohit Waghchaured6c986d2016-06-03 14:44:35 +053033 "description": _("Time Sheet for manufacturing."),
Prateeksha Singh34234072019-02-07 09:18:24 +053034 "onboard": 1,
35 "dependencies": ["Activity Type"]
Rushabh Mehtaa1da88a2015-02-23 20:18:38 +053036 },
Prateeksha Singh34234072019-02-07 09:18:24 +053037 {
38 "type": "doctype",
39 "name": "Job Card"
40 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053041 ]
42 },
43 {
44 "label": _("Bill of Materials"),
45 "items": [
46 {
47 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053048 "name": "Item",
49 "description": _("All Products or Services."),
50 "onboard": 1,
51 },
52 {
53 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053054 "name": "BOM",
55 "description": _("Bill of Materials (BOM)"),
Prateeksha Singh34234072019-02-07 09:18:24 +053056 "label": _("Bill of Materials"),
57 "onboard": 1,
58 "dependencies": ["Item"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053059 },
60 {
Saurabh52ec0ed2016-07-05 18:02:38 +053061 "type": "doctype",
Prateeksha Singh2c147042019-01-29 10:12:17 +053062 "name": "BOM Browser",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053063 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053064 "label": _("BOM Browser"),
65 "description": _("Tree of Bill of Materials"),
Saurabh52ec0ed2016-07-05 18:02:38 +053066 "link": "Tree/BOM",
Prateeksha Singh34234072019-02-07 09:18:24 +053067 "onboard": 1,
68 "dependencies": ["Item"]
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053069 },
Prateeksha Singh34234072019-02-07 09:18:24 +053070
Anand Doshi08ef4672014-05-08 11:43:18 +053071 {
72 "type": "doctype",
73 "name": "Workstation",
Neil Trini Lasradoe84fa672014-11-27 10:49:07 +053074 "description": _("Where manufacturing operations are carried."),
Anand Doshi08ef4672014-05-08 11:43:18 +053075 },
Neil Trini Lasrado637d8042014-10-16 15:05:30 +053076 {
77 "type": "doctype",
78 "name": "Operation",
79 "description": _("Details of the operations carried out."),
80 },
Prateeksha Singh34234072019-02-07 09:18:24 +053081 {
82 "type": "doctype",
83 "name": "Routing"
84 }
Anand Doshic5e057f2014-04-15 16:13:48 +053085
Anand Doshi08ef4672014-05-08 11:43:18 +053086 ]
87 },
88 {
89 "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 ]