brotherton-erpnext/erpnext/config/projects.py
Chillar Anand 915b34391c
chore: Clean up imports (#27302)
* chore: Added isort to pre-commit config

* chore: Sort imports with isort

* chore: Clean up imports with pycln

* chore: Sort imports with isort

* chore: Fix import issues

* chore: Clean up sider issues

* chore: Remove import errors from flake8 ignore list

* chore: Clean up lint issues
2021-09-02 16:44:59 +05:30

104 lines
2.1 KiB
Python

from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Projects"),
"icon": "fa fa-star",
"items": [
{
"type": "doctype",
"name": "Project",
"description": _("Project master."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Task",
"route": "/app/List/Task",
"description": _("Project activity / task."),
"onboard": 1,
},
{
"type": "report",
"route": "/app/List/Task/Gantt",
"doctype": "Task",
"name": "Gantt Chart",
"description": _("Gantt chart of all tasks."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Project Template",
"description": _("Make project from a template."),
},
{
"type": "doctype",
"name": "Project Type",
"description": _("Define Project type."),
},
{
"type": "doctype",
"name": "Project Update",
"description": _("Project Update."),
"dependencies": ["Project"],
},
]
},
{
"label": _("Time Tracking"),
"items": [
{
"type": "doctype",
"name": "Timesheet",
"description": _("Timesheet for tasks."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Activity Type",
"description": _("Types of activities for Time Logs"),
"onboard": 1,
},
{
"type": "doctype",
"name": "Activity Cost",
"description": _("Cost of various activities"),
"dependencies": ["Activity Type"],
},
]
},
{
"label": _("Reports"),
"icon": "fa fa-list",
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Daily Timesheet Summary",
"doctype": "Timesheet",
"onboard": 1,
"dependencies": ["Timesheet"],
},
{
"type": "report",
"is_query_report": True,
"name": "Project wise Stock Tracking",
"doctype": "Project",
"dependencies": ["Project"],
},
{
"type": "report",
"is_query_report": True,
"name": "Project Billing Summary",
"doctype": "Project",
"dependencies": ["Project"],
},
]
},
]