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", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 12 | "name": "Production Order", |
| 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", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 18 | "description": _("Generate Material Requests (MRP) and Production Orders."), |
| 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, |
| 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-Mott | 9431242 | 2017-02-04 14:25:53 -0800 | [diff] [blame] | 115 | },{ |
| 116 | "type": "page", |
| 117 | "name": "production-analytics", |
| 118 | "label": _("Production Analytics"), |
| 119 | "icon": "fa fa-bar-chart", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 120 | }, |
Rushabh Mehta | b45a6bc | 2015-06-17 01:54:56 +0530 | [diff] [blame] | 121 | { |
| 122 | "type": "report", |
| 123 | "is_query_report": True, |
| 124 | "name": "BOM Search", |
| 125 | "doctype": "BOM" |
Doridel Cahanap | 32456b0 | 2017-10-04 18:24:44 +0800 | [diff] [blame] | 126 | }, |
| 127 | { |
| 128 | "type": "report", |
| 129 | "is_query_report": True, |
| 130 | "name": "BOM Stock Report", |
| 131 | "doctype": "BOM" |
Ben Cornwell-Mott | 9431242 | 2017-02-04 14:25:53 -0800 | [diff] [blame] | 132 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 133 | ] |
| 134 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 135 | { |
| 136 | "label": _("Help"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 137 | "icon": "fa fa-facetime-video", |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 138 | "items": [ |
| 139 | { |
| 140 | "type": "help", |
| 141 | "label": _("Bill of Materials"), |
| 142 | "youtube_id": "hDV0c1OeWLo" |
| 143 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 144 | { |
| 145 | "type": "help", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 146 | "label": _("Production Order"), |
| 147 | "youtube_id": "ZotgLyp2YFY" |
| 148 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 149 | ] |
| 150 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 151 | ] |