mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
fix: remove HR/Payroll references from form dashboards
- Employee, Holiday List, Project, Task, Timesheet
This commit is contained in:
@@ -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"]},
|
||||
|
||||
@@ -6,6 +6,5 @@ def get_data():
|
||||
"fieldname": "task",
|
||||
"transactions": [
|
||||
{"label": _("Activity"), "items": ["Timesheet"]},
|
||||
{"label": _("Accounting"), "items": ["Expense Claim"]},
|
||||
],
|
||||
}
|
||||
|
||||
@@ -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"]}],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user