2017-10-17 09:47:24 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
from frappe import _
|
|
|
|
|
|
|
|
def get_data():
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
"label": _("Assets"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-05-10 20:26:05 +00:00
|
|
|
"name": "Location",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2018-01-05 17:49:06 +00:00
|
|
|
},
|
2018-05-07 10:28:41 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-05-10 20:26:05 +00:00
|
|
|
"name": "Asset Category",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2018-05-07 10:28:41 +00:00
|
|
|
},
|
2019-02-06 11:32:41 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset Movement",
|
|
|
|
"description": _("Transfer an asset from one warehouse to another")
|
|
|
|
},
|
2017-10-17 09:47:24 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Maintenance"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset Maintenance Team",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset Maintenance",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Asset Maintenance Team"],
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset Maintenance Tasks",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Asset Maintenance"],
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset Maintenance Log",
|
2019-02-06 11:32:41 +00:00
|
|
|
"dependencies": ["Asset Maintenance"],
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
2018-05-12 06:36:00 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-06-15 07:36:28 +00:00
|
|
|
"name": "Asset Value Adjustment",
|
2019-02-06 11:32:41 +00:00
|
|
|
"dependencies": ["Asset"],
|
2018-05-12 06:36:00 +00:00
|
|
|
},
|
2017-10-17 09:47:24 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Asset Repair",
|
2019-02-06 11:32:41 +00:00
|
|
|
"dependencies": ["Asset"],
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Reports"),
|
|
|
|
"icon": "fa fa-table",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Asset Depreciation Ledger",
|
|
|
|
"doctype": "Asset",
|
|
|
|
"is_query_report": True,
|
2019-02-06 11:32:41 +00:00
|
|
|
"dependencies": ["Asset"],
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Asset Depreciations and Balances",
|
|
|
|
"doctype": "Asset",
|
|
|
|
"is_query_report": True,
|
2019-02-06 11:32:41 +00:00
|
|
|
"dependencies": ["Asset"],
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Asset Maintenance",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Asset Maintenance",
|
|
|
|
"dependencies": ["Asset Maintenance"]
|
2017-10-17 09:47:24 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
2018-01-05 17:49:06 +00:00
|
|
|
]
|