Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 7 | "label": _("Production"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 8 | "icon": "fa fa-star", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 12 | "name": "Work Order", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 13 | "description": _("Orders released for production."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
rohitwaghchaure | e255830 | 2018-02-20 12:20:00 +0530 | [diff] [blame] | 17 | "name": "Production Plan", |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 18 | "description": _("Generate Material Requests (MRP) and Work Orders."), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Stock Entry", |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
Rohit Waghchaure | 3e012b7 | 2016-07-11 14:24:52 +0530 | [diff] [blame] | 26 | "name": "Timesheet", |
Rohit Waghchaure | d6c986d | 2016-06-03 14:44:35 +0530 | [diff] [blame] | 27 | "description": _("Time Sheet for manufacturing."), |
Rushabh Mehta | a1da88a | 2015-02-23 20:18:38 +0530 | [diff] [blame] | 28 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 29 | |
| 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 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 42 | "type": "doctype", |
| 43 | "name": "BOM", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 44 | "icon": "fa fa-sitemap", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 45 | "label": _("BOM Browser"), |
| 46 | "description": _("Tree of Bill of Materials"), |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 47 | "link": "Tree/BOM", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 48 | }, |
Rushabh Mehta | a1da88a | 2015-02-23 20:18:38 +0530 | [diff] [blame] | 49 | { |
| 50 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 51 | "name": "Item", |
| 52 | "description": _("All Products or Services."), |
| 53 | }, |
| 54 | { |
| 55 | "type": "doctype", |
| 56 | "name": "Workstation", |
Neil Trini Lasrado | e84fa67 | 2014-11-27 10:49:07 +0530 | [diff] [blame] | 57 | "description": _("Where manufacturing operations are carried."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 58 | }, |
Neil Trini Lasrado | 637d804 | 2014-10-16 15:05:30 +0530 | [diff] [blame] | 59 | { |
| 60 | "type": "doctype", |
| 61 | "name": "Operation", |
| 62 | "description": _("Details of the operations carried out."), |
| 63 | }, |
Anand Doshi | c5e057f | 2014-04-15 16:13:48 +0530 | [diff] [blame] | 64 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 65 | ] |
| 66 | }, |
| 67 | { |
| 68 | "label": _("Tools"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 69 | "icon": "fa fa-wrench", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 70 | "items": [ |
| 71 | { |
| 72 | "type": "doctype", |
Nabin Hait | adbf8ad | 2017-07-31 20:45:36 +0530 | [diff] [blame] | 73 | "name": "BOM Update Tool", |
| 74 | "description": _("Replace BOM and update latest price in all BOMs"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 75 | }, |
| 76 | ] |
| 77 | }, |
| 78 | { |
Rushabh Mehta | 99d0941 | 2015-02-24 14:41:12 +0530 | [diff] [blame] | 79 | "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 Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 89 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 90 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 91 | "items": [ |
| 92 | { |
| 93 | "type": "report", |
| 94 | "is_query_report": True, |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 95 | "name": "Open Work Orders", |
| 96 | "doctype": "Work Order" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 97 | }, |
| 98 | { |
| 99 | "type": "report", |
| 100 | "is_query_report": True, |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 101 | "name": "Work Orders in Progress", |
| 102 | "doctype": "Work Order" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 103 | }, |
| 104 | { |
| 105 | "type": "report", |
| 106 | "is_query_report": True, |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 107 | "name": "Issued Items Against Work Order", |
| 108 | "doctype": "Work Order" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 109 | }, |
| 110 | { |
| 111 | "type": "report", |
| 112 | "is_query_report": True, |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 113 | "name": "Completed Work Orders", |
| 114 | "doctype": "Work Order" |
Deepesh Garg | a057f4c | 2018-11-12 17:01:02 +0530 | [diff] [blame] | 115 | }, |
| 116 | { |
| 117 | "type": "report", |
| 118 | "is_query_report": True, |
| 119 | "name": "Production Analytics", |
| 120 | "doctype": "Work Order" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 121 | }, |
Rushabh Mehta | b45a6bc | 2015-06-17 01:54:56 +0530 | [diff] [blame] | 122 | { |
| 123 | "type": "report", |
| 124 | "is_query_report": True, |
| 125 | "name": "BOM Search", |
| 126 | "doctype": "BOM" |
Doridel Cahanap | 32456b0 | 2017-10-04 18:24:44 +0800 | [diff] [blame] | 127 | }, |
| 128 | { |
| 129 | "type": "report", |
| 130 | "is_query_report": True, |
| 131 | "name": "BOM Stock Report", |
| 132 | "doctype": "BOM" |
Ben Cornwell-Mott | 9431242 | 2017-02-04 14:25:53 -0800 | [diff] [blame] | 133 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 134 | ] |
| 135 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 136 | { |
| 137 | "label": _("Help"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 138 | "icon": "fa fa-facetime-video", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 139 | "items": [ |
| 140 | { |
| 141 | "type": "help", |
| 142 | "label": _("Bill of Materials"), |
| 143 | "youtube_id": "hDV0c1OeWLo" |
| 144 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 145 | { |
| 146 | "type": "help", |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 147 | "label": _("Work Order"), |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 148 | "youtube_id": "ZotgLyp2YFY" |
| 149 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 150 | ] |
| 151 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 152 | ] |