here i want to hide the Add Employee property button
frappe.ui.form.on("Employee Transfer", {
onload: function (frm) {
$('button:contains("Add Employee Property")').hide();
},
});
Add this code in Employee Transfer client script
1 Like