Add multirows in Attendees selection (#11067)

This commit is contained in:
Stavros Anastasiadis 2017-10-05 13:01:25 +03:00 committed by Nabin Hait
parent 31e6f75dbf
commit ea390effa5

View File

@ -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', {
});
}
}
});
});