diff --git a/erpnext/projects/doctype/project/project_dashboard.py b/erpnext/projects/doctype/project/project_dashboard.py index b6c74f93870..5d17efbabc5 100644 --- a/erpnext/projects/doctype/project/project_dashboard.py +++ b/erpnext/projects/doctype/project/project_dashboard.py @@ -9,7 +9,7 @@ def get_data(): "transactions": [ { "label": _("Project"), - "items": ["Task", "Timesheet", "Expense Claim", "Issue", "Project Update"], + "items": ["Task", "Timesheet", "Issue", "Project Update"], }, {"label": _("Material"), "items": ["Material Request", "BOM", "Stock Entry"]}, {"label": _("Sales"), "items": ["Sales Order", "Delivery Note", "Sales Invoice"]}, diff --git a/erpnext/projects/doctype/task/task_dashboard.py b/erpnext/projects/doctype/task/task_dashboard.py index 07477da17a4..52ff790d460 100644 --- a/erpnext/projects/doctype/task/task_dashboard.py +++ b/erpnext/projects/doctype/task/task_dashboard.py @@ -6,6 +6,5 @@ def get_data(): "fieldname": "task", "transactions": [ {"label": _("Activity"), "items": ["Timesheet"]}, - {"label": _("Accounting"), "items": ["Expense Claim"]}, ], } diff --git a/erpnext/projects/doctype/timesheet/timesheet_dashboard.py b/erpnext/projects/doctype/timesheet/timesheet_dashboard.py index 6d6b57bebd5..07e96cc7867 100644 --- a/erpnext/projects/doctype/timesheet/timesheet_dashboard.py +++ b/erpnext/projects/doctype/timesheet/timesheet_dashboard.py @@ -4,5 +4,5 @@ from frappe import _ def get_data(): return { "fieldname": "time_sheet", - "transactions": [{"label": _("References"), "items": ["Sales Invoice", "Salary Slip"]}], + "transactions": [{"label": _("References"), "items": ["Sales Invoice"]}], } diff --git a/erpnext/setup/doctype/employee/employee_dashboard.py b/erpnext/setup/doctype/employee/employee_dashboard.py deleted file mode 100644 index da89a1d651c..00000000000 --- a/erpnext/setup/doctype/employee/employee_dashboard.py +++ /dev/null @@ -1,50 +0,0 @@ -from frappe import _ - - -def get_data(): - return { - "heatmap": True, - "heatmap_message": _("This is based on the attendance of this Employee"), - "fieldname": "employee", - "non_standard_fieldnames": {"Bank Account": "party", "Employee Grievance": "raised_by"}, - "transactions": [ - {"label": _("Attendance"), "items": ["Attendance", "Attendance Request", "Employee Checkin"]}, - { - "label": _("Leave"), - "items": ["Leave Application", "Leave Allocation", "Leave Policy Assignment"], - }, - { - "label": _("Lifecycle"), - "items": [ - "Employee Onboarding", - "Employee Transfer", - "Employee Promotion", - "Employee Grievance", - ], - }, - { - "label": _("Exit"), - "items": ["Employee Separation", "Exit Interview", "Full and Final Statement"], - }, - {"label": _("Shift"), "items": ["Shift Request", "Shift Assignment"]}, - {"label": _("Expense"), "items": ["Expense Claim", "Travel Request", "Employee Advance"]}, - {"label": _("Benefit"), "items": ["Employee Benefit Application", "Employee Benefit Claim"]}, - { - "label": _("Payroll"), - "items": [ - "Salary Structure Assignment", - "Salary Slip", - "Additional Salary", - "Timesheet", - "Employee Incentive", - "Retention Bonus", - "Bank Account", - ], - }, - { - "label": _("Training"), - "items": ["Training Event", "Training Result", "Training Feedback", "Employee Skill Map"], - }, - {"label": _("Evaluation"), "items": ["Appraisal"]}, - ], - } diff --git a/erpnext/setup/doctype/holiday_list/holiday_list_dashboard.py b/erpnext/setup/doctype/holiday_list/holiday_list_dashboard.py index 0cbf09461b5..f483edcae80 100644 --- a/erpnext/setup/doctype/holiday_list/holiday_list_dashboard.py +++ b/erpnext/setup/doctype/holiday_list/holiday_list_dashboard.py @@ -3,13 +3,11 @@ def get_data(): "fieldname": "holiday_list", "non_standard_fieldnames": { "Company": "default_holiday_list", - "Leave Period": "optional_holiday_list", }, "transactions": [ { "items": ["Company", "Employee", "Workstation"], }, - {"items": ["Leave Period", "Shift Type"]}, - {"items": ["Service Level", "Service Level Agreement"]}, + {"items": ["Service Level Agreement"]}, ], }