Add multirows in Attendees selection (#11067)
This commit is contained in:
parent
31e6f75dbf
commit
ea390effa5
@ -2,6 +2,9 @@
|
|||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
frappe.ui.form.on('Training Event', {
|
frappe.ui.form.on('Training Event', {
|
||||||
|
onload_post_render: function(frm) {
|
||||||
|
frm.get_field("employees").grid.set_multiple_add("employee");
|
||||||
|
},
|
||||||
refresh: function(frm) {
|
refresh: function(frm) {
|
||||||
if(!frm.doc.__islocal) {
|
if(!frm.doc.__islocal) {
|
||||||
frm.add_custom_button(__("Training Result"), function() {
|
frm.add_custom_button(__("Training Result"), function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user