From 8dbd295c9ba451a207e1155c60862c3494f4e2c0 Mon Sep 17 00:00:00 2001 From: nabinhait Date: Thu, 31 Jul 2014 11:40:21 +0530 Subject: [PATCH] bom operations on_delete_row function --- erpnext/manufacturing/doctype/bom/bom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 6af63d96336..d73ac9a11eb 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -53,7 +53,7 @@ erpnext.bom.set_operation_no = function(doc) { 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); }