blob: be522469e6bf891d50f53ee6ca5e60b8d892b853 [file] [log] [blame]
Kanchan Chauhane58a41a2017-10-17 15:17:24 +05301from __future__ import unicode_literals
2from frappe import _
3
4def 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 Decultot34e335b2018-01-05 17:49:06 +000016 },
17 {
18 "type": "doctype",
Rohit Waghchaurec6deb132018-05-07 15:58:41 +053019 "label": _("Asset Location"),
20 "name": "Location",
21 },
22 {
23 "type": "doctype",
Charles-Henri Decultot34e335b2018-01-05 17:49:06 +000024 "name": "Asset Settings",
Kanchan Chauhane58a41a2017-10-17 15:17:24 +053025 }
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 Decultot34e335b2018-01-05 17:49:06 +000086 ]