Refrsh event is working but form_render event is not working ? can you help me to find out
frappe.ui.form.on('Quotation', {
refresh: function (frm) {
frm.doc.items.forEach(function (row) {
frappe.model.set_value(row.doctype, row.name, 'link_doctype', 'Task');
});
},
});
frappe.ui.form.on('Quotation Item', {
form_render: function (frm, cdt, cdn) {
console.log("Row is added ")
}
});