diff --git a/erpnext/hr/doctype/training_event/training_event.js b/erpnext/hr/doctype/training_event/training_event.js index 6a6e8fe0a6..12bc920b18 100644 --- a/erpnext/hr/doctype/training_event/training_event.js +++ b/erpnext/hr/doctype/training_event/training_event.js @@ -2,6 +2,9 @@ // For license information, please see license.txt frappe.ui.form.on('Training Event', { + onload_post_render: function(frm) { + frm.get_field("employees").grid.set_multiple_add("employee"); + }, refresh: function(frm) { if(!frm.doc.__islocal) { frm.add_custom_button(__("Training Result"), function() { @@ -18,4 +21,4 @@ frappe.ui.form.on('Training Event', { }); } } -}); \ No newline at end of file +});