brotherton-erpnext/erpnext/config/maintenance.py

32 lines
664 B
Python
Raw Normal View History

2016-06-29 09:34:08 +00:00
from frappe import _
def get_data():
return [
{
"label": _("Maintenance"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-star",
2016-06-29 09:34:08 +00:00
"items": [
{
"type": "doctype",
"name": "Maintenance Schedule",
"description": _("Plan for maintenance visits."),
},
{
"type": "doctype",
"name": "Maintenance Visit",
"description": _("Visit report for maintenance call."),
},
{
"type": "report",
"name": "Maintenance Schedules",
"is_query_report": True,
"doctype": "Maintenance Schedule"
},
{
"type": "doctype",
"name": "Warranty Claim",
"description": _("Warranty Claim against Serial No."),
},
]
}
]