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 | { |
| 7 | "label": _("Documents"), |
| 8 | "icon": "icon-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
| 12 | "name": "BOM", |
| 13 | "description": _("Bill of Materials (BOM)"), |
| 14 | "label": _("Bill of Material") |
| 15 | }, |
| 16 | { |
| 17 | "type": "doctype", |
| 18 | "name": "Production Order", |
| 19 | "description": _("Orders released for production."), |
| 20 | }, |
| 21 | { |
| 22 | "type": "doctype", |
Rushabh Mehta | a1da88a | 2015-02-23 20:18:38 +0530 | [diff] [blame] | 23 | "name": "Time Log", |
| 24 | "description": _("Time Logs for manufacturing."), |
| 25 | }, |
| 26 | { |
| 27 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 28 | "name": "Item", |
| 29 | "description": _("All Products or Services."), |
| 30 | }, |
| 31 | { |
| 32 | "type": "doctype", |
| 33 | "name": "Workstation", |
Neil Trini Lasrado | e84fa67 | 2014-11-27 10:49:07 +0530 | [diff] [blame] | 34 | "description": _("Where manufacturing operations are carried."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 35 | }, |
Neil Trini Lasrado | 637d804 | 2014-10-16 15:05:30 +0530 | [diff] [blame] | 36 | { |
| 37 | "type": "doctype", |
| 38 | "name": "Operation", |
| 39 | "description": _("Details of the operations carried out."), |
| 40 | }, |
Anand Doshi | c5e057f | 2014-04-15 16:13:48 +0530 | [diff] [blame] | 41 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 42 | ] |
| 43 | }, |
| 44 | { |
| 45 | "label": _("Tools"), |
| 46 | "icon": "icon-wrench", |
| 47 | "items": [ |
| 48 | { |
| 49 | "type": "doctype", |
| 50 | "name": "Production Planning Tool", |
| 51 | "description": _("Generate Material Requests (MRP) and Production Orders."), |
| 52 | }, |
| 53 | { |
| 54 | "type": "doctype", |
| 55 | "name": "BOM Replace Tool", |
| 56 | "description": _("Replace Item / BOM in all BOMs"), |
| 57 | }, |
Nabin Hait | 878a185 | 2015-05-26 12:40:57 +0530 | [diff] [blame] | 58 | { |
| 59 | "type": "page", |
| 60 | "name": "bom-browser", |
| 61 | "icon": "icon-sitemap", |
| 62 | "label": _("BOM Browser"), |
| 63 | "description": _("Tree of Bill of Materials"), |
| 64 | "doctype": "BOM" |
| 65 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 66 | ] |
| 67 | }, |
| 68 | { |
Rushabh Mehta | 99d0941 | 2015-02-24 14:41:12 +0530 | [diff] [blame] | 69 | "label": _("Setup"), |
| 70 | "items": [ |
| 71 | { |
| 72 | "type": "doctype", |
| 73 | "name": "Manufacturing Settings", |
| 74 | "description": _("Global settings for all manufacturing processes."), |
| 75 | } |
| 76 | ] |
| 77 | }, |
| 78 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 79 | "label": _("Standard Reports"), |
| 80 | "icon": "icon-list", |
| 81 | "items": [ |
| 82 | { |
| 83 | "type": "report", |
| 84 | "is_query_report": True, |
| 85 | "name": "Open Production Orders", |
| 86 | "doctype": "Production Order" |
| 87 | }, |
| 88 | { |
| 89 | "type": "report", |
| 90 | "is_query_report": True, |
| 91 | "name": "Production Orders in Progress", |
| 92 | "doctype": "Production Order" |
| 93 | }, |
| 94 | { |
| 95 | "type": "report", |
| 96 | "is_query_report": True, |
| 97 | "name": "Issued Items Against Production Order", |
| 98 | "doctype": "Production Order" |
| 99 | }, |
| 100 | { |
| 101 | "type": "report", |
| 102 | "is_query_report": True, |
| 103 | "name": "Completed Production Orders", |
| 104 | "doctype": "Production Order" |
| 105 | }, |
Rushabh Mehta | b45a6bc | 2015-06-17 01:54:56 +0530 | [diff] [blame] | 106 | { |
| 107 | "type": "report", |
| 108 | "is_query_report": True, |
| 109 | "name": "BOM Search", |
| 110 | "doctype": "BOM" |
| 111 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 112 | ] |
| 113 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 114 | { |
| 115 | "label": _("Help"), |
| 116 | "icon": "icon-facetime-video", |
| 117 | "items": [ |
| 118 | { |
| 119 | "type": "help", |
| 120 | "label": _("Bill of Materials"), |
| 121 | "youtube_id": "hDV0c1OeWLo" |
| 122 | }, |
| 123 | ] |
| 124 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 125 | ] |