ERPNext Conference 2019* Blog

Employee attendance tool by "designation"



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:


#20 designation: function(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? :smiley:

Edit: got it. Had to include designation in line 22 of .py