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", |
Charles-Henri Decultot | 34e335b | 2018-01-05 17:49:06 +0000 | [diff] [blame] | 16 | }, |
| 17 | { |
| 18 | "type": "doctype", |
Rohit Waghchaure | c6deb13 | 2018-05-07 15:58:41 +0530 | [diff] [blame] | 19 | "label": _("Asset Location"), |
| 20 | "name": "Location", |
| 21 | }, |
| 22 | { |
| 23 | "type": "doctype", |
Charles-Henri Decultot | 34e335b | 2018-01-05 17:49:06 +0000 | [diff] [blame] | 24 | "name": "Asset Settings", |
Kanchan Chauhan | e58a41a | 2017-10-17 15:17:24 +0530 | [diff] [blame] | 25 | } |
| 26 | ] |
| 27 | }, |
| 28 | { |
| 29 | "label": _("Maintenance"), |
| 30 | "items": [ |
| 31 | { |
| 32 | "type": "doctype", |
| 33 | "name": "Asset Maintenance Team", |
| 34 | }, |
| 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Asset Maintenance", |
| 38 | }, |
| 39 | { |
| 40 | "type": "doctype", |
| 41 | "name": "Asset Maintenance Tasks", |
| 42 | }, |
| 43 | { |
| 44 | "type": "doctype", |
| 45 | "name": "Asset Maintenance Log", |
| 46 | }, |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Asset Repair", |
| 50 | }, |
| 51 | ] |
| 52 | }, |
| 53 | { |
| 54 | "label": _("Tools"), |
| 55 | "items": [ |
| 56 | { |
| 57 | "type": "doctype", |
| 58 | "name": "Asset Movement", |
| 59 | "description": _("Transfer an asset from one warehouse to another") |
| 60 | }, |
| 61 | ] |
| 62 | }, |
| 63 | { |
| 64 | "label": _("Reports"), |
| 65 | "icon": "fa fa-table", |
| 66 | "items": [ |
| 67 | { |
| 68 | "type": "report", |
| 69 | "name": "Asset Depreciation Ledger", |
| 70 | "doctype": "Asset", |
| 71 | "is_query_report": True, |
| 72 | }, |
| 73 | { |
| 74 | "type": "report", |
| 75 | "name": "Asset Depreciations and Balances", |
| 76 | "doctype": "Asset", |
| 77 | "is_query_report": True, |
| 78 | }, |
| 79 | { |
| 80 | "type": "report", |
| 81 | "name": "Asset Maintenance", |
| 82 | "doctype": "Asset Maintenance" |
| 83 | }, |
| 84 | ] |
| 85 | } |
Charles-Henri Decultot | 34e335b | 2018-01-05 17:49:06 +0000 | [diff] [blame] | 86 | ] |