mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-24 00:58:29 +00:00
minor fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user