Browse Source

fix: query for training Event

develop
Anurag Mishra 3 years ago
parent
commit
b6ff8917e8
  1. 3
      erpnext/hr/doctype/training_event/training_event.js

3
erpnext/hr/doctype/training_event/training_event.js

@ -33,7 +33,8 @@ frappe.ui.form.on('Training Event', {
frm.set_query("employee", "employees", function () { frm.set_query("employee", "employees", function () {
return { return {
filters: { filters: {
name: ["NOT IN", emp] name: ["NOT IN", emp],
status: "Active"
} }
}; };
}); });

Loading…
Cancel
Save