brotherton-erpnext/erpnext/config/projects.py

84 lines
1.6 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-03-03 09:35:28 +00:00
from frappe import _
2014-05-08 06:13:18 +00:00
def get_data():
return [
{
2016-03-08 12:36:21 +00:00
"label": _("Projects"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-star",
2014-05-08 06:13:18 +00:00
"items": [
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Project",
"description": _("Project master."),
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Task",
"description": _("Project activity / task."),
},
{
"type": "doctype",
"name": "Project Type",
"description": _("Define Project type."),
},
2014-05-08 06:13:18 +00:00
{
2016-03-08 12:36:21 +00:00
"type": "report",
"route": "List/Task/Gantt",
2016-03-08 12:36:21 +00:00
"doctype": "Task",
"name": "Gantt Chart",
"description": _("Gantt chart of all tasks.")
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Time Tracking"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-07-06 14:42:58 +00:00
"name": "Timesheet",
"description": _("Timesheet for tasks."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Activity Type",
2016-07-06 14:42:58 +00:00
"description": _("Types of activities for Time Logs"),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Activity Cost",
"description": _("Cost of various activities"),
},
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Reports"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-list",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "report",
"is_query_report": True,
2016-07-06 14:42:58 +00:00
"name": "Daily Timesheet Summary",
"doctype": "Timesheet"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Project wise Stock Tracking",
"doctype": "Project"
},
]
},
{
"label": _("Help"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-facetime-video",
"items": [
{
"type": "help",
"label": _("Managing Projects"),
"youtube_id": "egxIGwtoKI4"
},
]
},
2014-05-08 06:13:18 +00:00
]