Some checks failed
Server (Postgres) / Build & reinstall (setup) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (1) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (2) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (3) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (4) (push) Has been cancelled
Server (Mariadb) / Build & reinstall (setup) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (1) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (2) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (3) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (4) (push) Has been cancelled
Server (Mariadb) / Coverage Wrap Up (push) Has been cancelled
Lock threads / lock (push) Has been cancelled
Regenerate POT file (translatable strings) / Regenerate POT file (develop) (push) Has been cancelled
Regenerate POT file (translatable strings) / Regenerate POT file (version-16-hotfix) (push) Has been cancelled
Sync translations to hotfix branches / Trigger sync → version-16-hotfix (push) Has been cancelled
Create weekly release pull requests / Release (15) (push) Has been cancelled
Create weekly release pull requests / Release (16) (push) Has been cancelled
101 lines
2.0 KiB
Python
101 lines
2.0 KiB
Python
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"],
|
|
},
|
|
],
|
|
},
|
|
]
|