fix: remove HR/Payroll references from form dashboards

- Employee, Holiday List, Project, Task, Timesheet
This commit is contained in:
Rucha Mahabal
2022-06-24 15:03:16 +05:30
parent 39e0d22044
commit c619b58ba9
5 changed files with 3 additions and 56 deletions

View File

@@ -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"]},

View File

@@ -6,6 +6,5 @@ def get_data():
"fieldname": "task",
"transactions": [
{"label": _("Activity"), "items": ["Timesheet"]},
{"label": _("Accounting"), "items": ["Expense Claim"]},
],
}

View File

@@ -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"]}],
}