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