minor fix
This commit is contained in:
parent
7db1793543
commit
9f98296c9c
@ -24,8 +24,6 @@ frappe.ui.form.on("Supplier", {
|
||||
unhide_field(['address_html','contact_html']);
|
||||
erpnext.utils.render_address_and_contact(frm);
|
||||
}
|
||||
|
||||
frm.events.add_custom_buttons(frm);
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -27,8 +27,6 @@ frappe.ui.form.on("Customer", {
|
||||
var grid = cur_frm.get_field("sales_team").grid;
|
||||
grid.set_column_disp("allocated_amount", false);
|
||||
grid.set_column_disp("incentives", false);
|
||||
|
||||
frm.events.add_custom_buttons(frm);
|
||||
},
|
||||
validate: function(frm) {
|
||||
if(frm.doc.lead_name) frappe.model.clear_doc("Lead", frm.doc.lead_name);
|
||||
|
Loading…
Reference in New Issue
Block a user