minor fix

This commit is contained in:
Nabin Hait 2018-08-28 14:09:27 +05:30
parent a5add289bb
commit 01b2a6549c

View File

@ -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")