Hello beautiful people at Frappe!
ERPNext has this beautiful feature for HR Users, to mark attendance by department, branch etc but it should also feature mark attendance by “designation”. I’ve made some changes to the corresponding DocType as well the employee_attendance_tool .js and .py, but to no avail.
Here’s what I did:
Added:
employee_attendance_tool.js
#20 designation: function(frm) {
erpnext.employee_attendance_tool.load_employees(frm);
},
#42 designation: frm.doc.designation,
And of course added a link to the Designation in the DocType.
It does pull designations but the employees’ list does not refresh. Any help?
Edit: got it. Had to include designation in line 22 of .py