From 89ab4719ff3648a82ea9214629f1ddea2c1c731e Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 4 Jun 2013 17:07:57 +0530 Subject: [PATCH] bom exploded items grouped by items --- patches/june_2013/p01_update_bom_exploded_items.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/patches/june_2013/p01_update_bom_exploded_items.py b/patches/june_2013/p01_update_bom_exploded_items.py index dff70229bb..6a6169d0cc 100644 --- a/patches/june_2013/p01_update_bom_exploded_items.py +++ b/patches/june_2013/p01_update_bom_exploded_items.py @@ -20,9 +20,6 @@ import webnotes def execute(): updated_bom = [] for bom in webnotes.conn.sql("select name from tabBOM where docstatus < 2"): - webnotes.errprint(bom[0]) if bom[0] not in updated_bom: bom_obj = webnotes.get_obj("BOM", bom[0], with_children=1) - updated_bom = bom_obj.update_cost_and_exploded_items(updated_bom) - - webnotes.errprint(updated_bom) \ No newline at end of file + updated_bom = bom_obj.update_cost_and_exploded_items(updated_bom) \ No newline at end of file