It is also worked in the latest version. and no need to call frappe.ui.form.on. just paste my script.
Then reload Ctrl+Shift+R and check it.
It is also worked in the latest version. and no need to call frappe.ui.form.on. just paste my script.
Then reload Ctrl+Shift+R and check it.