blob: 086d61b847ef66e53dc450ac5b2a39e42aa60519 [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",
Anand Doshi08ef4672014-05-08 11:43:18 +053012 "name": "Production Order",
13 "description": _("Orders released for production."),
14 },
15 {
16 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053017 "name": "Production Planning Tool",
18 "description": _("Generate Material Requests (MRP) and Production Orders."),
19 },
20 {
21 "type": "doctype",
22 "name": "Stock Entry",
23 },
24 {
25 "type": "doctype",
Rohit Waghchaure3e012b72016-07-11 14:24:52 +053026 "name": "Timesheet",
Rohit Waghchaured6c986d2016-06-03 14:44:35 +053027 "description": _("Time Sheet for manufacturing."),
Rushabh Mehtaa1da88a2015-02-23 20:18:38 +053028 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053029
30 ]
31 },
32 {
33 "label": _("Bill of Materials"),
34 "items": [
35 {
36 "type": "doctype",
37 "name": "BOM",
38 "description": _("Bill of Materials (BOM)"),
39 "label": _("Bill of Materials")
40 },
41 {
Saurabh52ec0ed2016-07-05 18:02:38 +053042 "type": "doctype",
43 "name": "BOM",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053044 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053045 "label": _("BOM Browser"),
46 "description": _("Tree of Bill of Materials"),
Saurabh52ec0ed2016-07-05 18:02:38 +053047 "link": "Tree/BOM",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053048 },
Rushabh Mehtaa1da88a2015-02-23 20:18:38 +053049 {
50 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053051 "name": "Item",
52 "description": _("All Products or Services."),
53 },
54 {
55 "type": "doctype",
56 "name": "Workstation",
Neil Trini Lasradoe84fa672014-11-27 10:49:07 +053057 "description": _("Where manufacturing operations are carried."),
Anand Doshi08ef4672014-05-08 11:43:18 +053058 },
Neil Trini Lasrado637d8042014-10-16 15:05:30 +053059 {
60 "type": "doctype",
61 "name": "Operation",
62 "description": _("Details of the operations carried out."),
63 },
Anand Doshic5e057f2014-04-15 16:13:48 +053064
Anand Doshi08ef4672014-05-08 11:43:18 +053065 ]
66 },
67 {
68 "label": _("Tools"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053069 "icon": "fa fa-wrench",
Anand Doshi08ef4672014-05-08 11:43:18 +053070 "items": [
71 {
72 "type": "doctype",
Nabin Haitadbf8ad2017-07-31 20:45:36 +053073 "name": "BOM Update Tool",
74 "description": _("Replace BOM and update latest price in all BOMs"),
Anand Doshi08ef4672014-05-08 11:43:18 +053075 },
76 ]
77 },
78 {
Rushabh Mehta99d09412015-02-24 14:41:12 +053079 "label": _("Setup"),
80 "items": [
81 {
82 "type": "doctype",
83 "name": "Manufacturing Settings",
84 "description": _("Global settings for all manufacturing processes."),
85 }
86 ]
87 },
88 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053089 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053090 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053091 "items": [
92 {
93 "type": "report",
94 "is_query_report": True,
95 "name": "Open Production Orders",
96 "doctype": "Production Order"
97 },
98 {
99 "type": "report",
100 "is_query_report": True,
101 "name": "Production Orders in Progress",
102 "doctype": "Production Order"
103 },
104 {
105 "type": "report",
106 "is_query_report": True,
107 "name": "Issued Items Against Production Order",
108 "doctype": "Production Order"
109 },
110 {
111 "type": "report",
112 "is_query_report": True,
113 "name": "Completed Production Orders",
114 "doctype": "Production Order"
Ben Cornwell-Mott94312422017-02-04 14:25:53 -0800115 },{
116 "type": "page",
117 "name": "production-analytics",
118 "label": _("Production Analytics"),
119 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530120 },
Rushabh Mehtab45a6bc2015-06-17 01:54:56 +0530121 {
122 "type": "report",
123 "is_query_report": True,
124 "name": "BOM Search",
125 "doctype": "BOM"
Doridel Cahanap32456b02017-10-04 18:24:44 +0800126 },
127 {
128 "type": "report",
129 "is_query_report": True,
130 "name": "BOM Stock Report",
131 "doctype": "BOM"
Ben Cornwell-Mott94312422017-02-04 14:25:53 -0800132 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530133 ]
134 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530135 {
136 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530137 "icon": "fa fa-facetime-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530138 "items": [
139 {
140 "type": "help",
141 "label": _("Bill of Materials"),
142 "youtube_id": "hDV0c1OeWLo"
143 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530144 {
145 "type": "help",
146 "label": _("Production Planning Tool"),
147 "youtube_id": "CzatSl4zJ2Y"
148 },
149 {
150 "type": "help",
151 "label": _("Production Order"),
152 "youtube_id": "ZotgLyp2YFY"
153 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530154 ]
155 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530156 ]