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", |
| 28 | "description": _("Where manufacturing operations are carried out."), |
| 29 | }, |
Anand Doshi | c5e057f | 2014-04-15 16:13:48 +0530 | [diff] [blame] | 30 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 31 | ] |
| 32 | }, |
| 33 | { |
| 34 | "label": _("Tools"), |
| 35 | "icon": "icon-wrench", |
| 36 | "items": [ |
| 37 | { |
| 38 | "type": "doctype", |
| 39 | "name": "Production Planning Tool", |
| 40 | "description": _("Generate Material Requests (MRP) and Production Orders."), |
| 41 | }, |
| 42 | { |
| 43 | "type": "doctype", |
| 44 | "name": "BOM Replace Tool", |
| 45 | "description": _("Replace Item / BOM in all BOMs"), |
| 46 | }, |
| 47 | ] |
| 48 | }, |
| 49 | { |
| 50 | "label": _("Standard Reports"), |
| 51 | "icon": "icon-list", |
| 52 | "items": [ |
| 53 | { |
| 54 | "type": "report", |
| 55 | "is_query_report": True, |
| 56 | "name": "Open Production Orders", |
| 57 | "doctype": "Production Order" |
| 58 | }, |
| 59 | { |
| 60 | "type": "report", |
| 61 | "is_query_report": True, |
| 62 | "name": "Production Orders in Progress", |
| 63 | "doctype": "Production Order" |
| 64 | }, |
| 65 | { |
| 66 | "type": "report", |
| 67 | "is_query_report": True, |
| 68 | "name": "Issued Items Against Production Order", |
| 69 | "doctype": "Production Order" |
| 70 | }, |
| 71 | { |
| 72 | "type": "report", |
| 73 | "is_query_report": True, |
| 74 | "name": "Completed Production Orders", |
| 75 | "doctype": "Production Order" |
| 76 | }, |
| 77 | ] |
| 78 | }, |
| 79 | ] |