Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 3 | def get_data(): |
| 4 | return [ |
| 5 | { |
| 6 | "label": _("Documents"), |
| 7 | "icon": "icon-star", |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "BOM", |
| 12 | "description": _("Bill of Materials (BOM)"), |
| 13 | "label": _("Bill of Material") |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
| 17 | "name": "Production Order", |
| 18 | "description": _("Orders released for production."), |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Item", |
| 23 | "description": _("All Products or Services."), |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Workstation", |
Neil Trini Lasrado | e84fa67 | 2014-11-27 10:49:07 +0530 | [diff] [blame] | 28 | "description": _("Where manufacturing operations are carried."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 29 | }, |
Neil Trini Lasrado | 637d804 | 2014-10-16 15:05:30 +0530 | [diff] [blame] | 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Operation", |
| 33 | "description": _("Details of the operations carried out."), |
| 34 | }, |
Neil Trini Lasrado | e84fa67 | 2014-11-27 10:49:07 +0530 | [diff] [blame] | 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Manufacturing Settings", |
| 38 | "description": _("Global settings for all manufacturing processes."), |
| 39 | }, |
Anand Doshi | c5e057f | 2014-04-15 16:13:48 +0530 | [diff] [blame] | 40 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 41 | ] |
| 42 | }, |
| 43 | { |
| 44 | "label": _("Tools"), |
| 45 | "icon": "icon-wrench", |
| 46 | "items": [ |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Production Planning Tool", |
| 50 | "description": _("Generate Material Requests (MRP) and Production Orders."), |
| 51 | }, |
| 52 | { |
| 53 | "type": "doctype", |
| 54 | "name": "BOM Replace Tool", |
| 55 | "description": _("Replace Item / BOM in all BOMs"), |
| 56 | }, |
| 57 | ] |
| 58 | }, |
| 59 | { |
| 60 | "label": _("Standard Reports"), |
| 61 | "icon": "icon-list", |
| 62 | "items": [ |
| 63 | { |
| 64 | "type": "report", |
| 65 | "is_query_report": True, |
| 66 | "name": "Open Production Orders", |
| 67 | "doctype": "Production Order" |
| 68 | }, |
| 69 | { |
| 70 | "type": "report", |
| 71 | "is_query_report": True, |
| 72 | "name": "Production Orders in Progress", |
| 73 | "doctype": "Production Order" |
| 74 | }, |
| 75 | { |
| 76 | "type": "report", |
| 77 | "is_query_report": True, |
| 78 | "name": "Issued Items Against Production Order", |
| 79 | "doctype": "Production Order" |
| 80 | }, |
| 81 | { |
| 82 | "type": "report", |
| 83 | "is_query_report": True, |
| 84 | "name": "Completed Production Orders", |
| 85 | "doctype": "Production Order" |
| 86 | }, |
| 87 | ] |
| 88 | }, |
| 89 | ] |