From 01b2a6549c346c11f4e4baa825fa3f25f19c647e Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 28 Aug 2018 14:09:27 +0530 Subject: [PATCH] minor fix --- erpnext/hr/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hr/utils.py b/erpnext/hr/utils.py index fb03044183b..281b7fcb5d4 100644 --- a/erpnext/hr/utils.py +++ b/erpnext/hr/utils.py @@ -80,7 +80,7 @@ class EmployeeBoardingController(Document): @frappe.whitelist() def get_onboarding_details(parent, parenttype): - return frappe.get_list("Employee Boarding Activity", + return frappe.get_all("Employee Boarding Activity", fields=["activity_name", "role", "user", "required_for_employee_creation", "description"], filters={"parent": parent, "parenttype": parenttype}, order_by= "idx")