brotherton-erpnext/erpnext/config/assets.py

82 lines
1.4 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Assets"),
"items": [
{
"type": "doctype",
"name": "Asset",
},
{
"type": "doctype",
"name": "Asset Category",
2018-01-05 17:49:06 +00:00
},
{
"type": "doctype",
"name": "Asset Settings",
}
]
},
{
"label": _("Maintenance"),
"items": [
{
"type": "doctype",
"name": "Asset Maintenance Team",
},
{
"type": "doctype",
"name": "Asset Maintenance",
},
{
"type": "doctype",
"name": "Asset Maintenance Tasks",
},
{
"type": "doctype",
"name": "Asset Maintenance Log",
},
{
"type": "doctype",
"name": "Asset Repair",
},
]
},
{
"label": _("Tools"),
"items": [
{
"type": "doctype",
"name": "Asset Movement",
"description": _("Transfer an asset from one warehouse to another")
},
]
},
{
"label": _("Reports"),
"icon": "fa fa-table",
"items": [
{
"type": "report",
"name": "Asset Depreciation Ledger",
"doctype": "Asset",
"is_query_report": True,
},
{
"type": "report",
"name": "Asset Depreciations and Balances",
"doctype": "Asset",
"is_query_report": True,
},
{
"type": "report",
"name": "Asset Maintenance",
"doctype": "Asset Maintenance"
},
]
}
2018-01-05 17:49:06 +00:00
]