2015-02-24 06:54:53 +00:00
|
|
|
from __future__ import unicode_literals
|
2021-09-02 11:14:59 +00:00
|
|
|
|
2014-03-03 09:35:28 +00:00
|
|
|
from frappe import _
|
|
|
|
|
2021-09-02 11:14:59 +00:00
|
|
|
|
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."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2018-03-20 06:28:15 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Task",
|
2020-11-18 09:30:34 +00:00
|
|
|
"route": "/app/List/Task",
|
2014-05-08 06:13:18 +00:00
|
|
|
"description": _("Project activity / task."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2017-07-26 12:25:25 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "report",
|
2020-11-18 09:30:34 +00:00
|
|
|
"route": "/app/List/Task/Gantt",
|
2016-03-08 12:36:21 +00:00
|
|
|
"doctype": "Task",
|
|
|
|
"name": "Gantt Chart",
|
2019-02-06 11:32:41 +00:00
|
|
|
"description": _("Gantt chart of all tasks."),
|
|
|
|
"onboard": 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-18 13:05:51 +00:00
|
|
|
"name": "Project Template",
|
|
|
|
"description": _("Make project from a template."),
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Project Type",
|
|
|
|
"description": _("Define Project type."),
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2019-02-18 13:05:51 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Project Update",
|
|
|
|
"description": _("Project Update."),
|
|
|
|
"dependencies": ["Project"],
|
|
|
|
},
|
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."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
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"),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2015-03-24 07:19:45 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Activity Cost",
|
|
|
|
"description": _("Cost of various activities"),
|
2019-02-06 11:32:41 +00:00
|
|
|
"dependencies": ["Activity Type"],
|
2015-03-24 07:19:45 +00:00
|
|
|
},
|
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",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Timesheet",
|
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Timesheet"],
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Project wise Stock Tracking",
|
2019-02-06 11:32:41 +00:00
|
|
|
"doctype": "Project",
|
|
|
|
"dependencies": ["Project"],
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2019-07-15 09:04:10 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Project Billing Summary",
|
|
|
|
"doctype": "Project",
|
|
|
|
"dependencies": ["Project"],
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2020-11-18 09:30:34 +00:00
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|