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 | }, |
| 58 | ] |
| 59 | }, |
| 60 | { |
Rushabh Mehta | 99d0941 | 2015-02-24 14:41:12 +0530 | [diff] [blame] | 61 | "label": _("Setup"), |
| 62 | "items": [ |
| 63 | { |
| 64 | "type": "doctype", |
| 65 | "name": "Manufacturing Settings", |
| 66 | "description": _("Global settings for all manufacturing processes."), |
| 67 | } |
| 68 | ] |
| 69 | }, |
| 70 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 71 | "label": _("Standard Reports"), |
| 72 | "icon": "icon-list", |
| 73 | "items": [ |
| 74 | { |
| 75 | "type": "report", |
| 76 | "is_query_report": True, |
| 77 | "name": "Open Production Orders", |
| 78 | "doctype": "Production Order" |
| 79 | }, |
| 80 | { |
| 81 | "type": "report", |
| 82 | "is_query_report": True, |
| 83 | "name": "Production Orders in Progress", |
| 84 | "doctype": "Production Order" |
| 85 | }, |
| 86 | { |
| 87 | "type": "report", |
| 88 | "is_query_report": True, |
| 89 | "name": "Issued Items Against Production Order", |
| 90 | "doctype": "Production Order" |
| 91 | }, |
| 92 | { |
| 93 | "type": "report", |
| 94 | "is_query_report": True, |
| 95 | "name": "Completed Production Orders", |
| 96 | "doctype": "Production Order" |
| 97 | }, |
| 98 | ] |
| 99 | }, |
| 100 | ] |