417dfed214
* for email sending * test commit for new branch * Removed test changes * test commit renzo * Email sending * Project Uo * Project Update * "My first commit" * "My second commit" * "My second commit" * Holiday is included * delete idea * first pull * first pull * "My third commit" * Delete idea * delete again * "Edit Time" * "Edit Time" * Naming series and bug fixing * "Edit current day and time" * "Proper naming series, hidden time and date" * Project and Project Update dashboard * dashboard * Remove hooks for PR * Remove hooks for PR * Remove hooks for PR * Deleted project_time.py * Corrected indention * Hook back to original * Delete project_time.py * "Modified time" * Fix indention * Sample * FRM * FRM * Time fix * Hooks original state * "Modified time" * Added permission to Project User * Added function/method to be called in order to create project update for the specific project * Naming series * this is not included * Fix minor bug * Indent again * "Reformat Code" * "Check Indent" * Indent again and again * semi colon * "Check Again Indent" * "Check again Indent" * "Check again Indent" * ind * "Check again Indent" * "Check again Indent" * Generate Project update With button in email * [] * "Erro Summary" * "Add syntax for the communcation" * "add summary code" * "Modified Summary code" * "Modified Summary code" * "Fix update ID and set localhost" * Fix time and date error in project_update Fix naming series problem in project_update * included "not updated" in project update * Bug in Number of Drafts * "add notes in summary" * Correct code * With error * Removed the method * Minor fixes * Correction for daily summary
90 lines
1.7 KiB
Python
90 lines
1.7 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."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Project Update",
|
|
"description": _("Project Update."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Task",
|
|
"route": "List/Task",
|
|
"description": _("Project activity / task."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Project Type",
|
|
"description": _("Define Project type."),
|
|
},
|
|
{
|
|
"type": "report",
|
|
"route": "List/Task/Gantt",
|
|
"doctype": "Task",
|
|
"name": "Gantt Chart",
|
|
"description": _("Gantt chart of all tasks.")
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Time Tracking"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Timesheet",
|
|
"description": _("Timesheet for tasks."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Activity Type",
|
|
"description": _("Types of activities for Time Logs"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Activity Cost",
|
|
"description": _("Cost of various activities"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Reports"),
|
|
"icon": "fa fa-list",
|
|
"items": [
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Daily Timesheet Summary",
|
|
"doctype": "Timesheet"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Project wise Stock Tracking",
|
|
"doctype": "Project"
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Help"),
|
|
"icon": "fa fa-facetime-video",
|
|
"items": [
|
|
{
|
|
"type": "help",
|
|
"label": _("Managing Projects"),
|
|
"youtube_id": "egxIGwtoKI4"
|
|
},
|
|
]
|
|
},
|
|
]
|