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