Kanchan Chauhan | e58a41a | 2017-10-17 15:17:24 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Assets"), |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Asset", |
| 12 | }, |
| 13 | { |
| 14 | "type": "doctype", |
| 15 | "name": "Asset Category", |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | { |
| 20 | "label": _("Maintenance"), |
| 21 | "items": [ |
| 22 | { |
| 23 | "type": "doctype", |
| 24 | "name": "Asset Maintenance Team", |
| 25 | }, |
| 26 | { |
| 27 | "type": "doctype", |
| 28 | "name": "Asset Maintenance", |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Asset Maintenance Tasks", |
| 33 | }, |
| 34 | { |
| 35 | "type": "doctype", |
| 36 | "name": "Asset Maintenance Log", |
| 37 | }, |
| 38 | { |
| 39 | "type": "doctype", |
| 40 | "name": "Asset Repair", |
| 41 | }, |
| 42 | ] |
| 43 | }, |
| 44 | { |
| 45 | "label": _("Tools"), |
| 46 | "items": [ |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Asset Movement", |
| 50 | "description": _("Transfer an asset from one warehouse to another") |
| 51 | }, |
| 52 | ] |
| 53 | }, |
| 54 | { |
| 55 | "label": _("Reports"), |
| 56 | "icon": "fa fa-table", |
| 57 | "items": [ |
| 58 | { |
| 59 | "type": "report", |
| 60 | "name": "Asset Depreciation Ledger", |
| 61 | "doctype": "Asset", |
| 62 | "is_query_report": True, |
| 63 | }, |
| 64 | { |
| 65 | "type": "report", |
| 66 | "name": "Asset Depreciations and Balances", |
| 67 | "doctype": "Asset", |
| 68 | "is_query_report": True, |
| 69 | }, |
| 70 | { |
| 71 | "type": "report", |
| 72 | "name": "Asset Maintenance", |
| 73 | "doctype": "Asset Maintenance" |
| 74 | }, |
| 75 | ] |
| 76 | } |
| 77 | ] |