update all custom script `cur_frm.cscript.quantity_in_mt` to `frappe.ui.form.on("Delivery Note", "customer", function(frm, doctype, name) { });`