Trying to call fill_table when user enter data in this fields. In local system system fill the table based on selected inward voucher.
But after hosting in frappe cloud, system triggering the event when user selecting the voucher and when user pressing any key in the UI. 2 times the event is calling.
What may be reason to call the event 2 times.
inward_voucher:function(frm) {
if (frm.doc.inward_voucher) {
frm.trigger(“fill_table”);
}
},
After filling the data in the table, the 2nd time triggering the event when user click on another tab or press any key. we are not doing any entry in the “inward_voucher”. local its calling only one time…