bom operations on_delete_row function
diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js
index 6af63d9..d73ac9a 100644
--- a/erpnext/manufacturing/doctype/bom/bom.js
+++ b/erpnext/manufacturing/doctype/bom/bom.js
@@ -53,7 +53,7 @@
 	refresh_field("bom_materials");
 }
 
-cur_frm.fields_dict["bom_operations"].grid.on_row_delete = function(cdt, cdn){
+cur_frm.cscript.bom_operations_remove = function(){
 	erpnext.bom.set_operation_no(doc);
 }