commit | c4ee74857de0e41760d709e7c195baaec329808d | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Fri Jan 24 21:53:11 2014 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Fri Jan 24 21:53:11 2014 +0530 |
tree | 438a97ce4efafe4c0ed7a1052013c1e4f5889125 | |
parent | fc13b87fd56c6b9fa8ac8b8e9fcbf88f62c8749b [diff] |
BugFix: Production Planning Tool - get_raw_materials
diff --git a/manufacturing/doctype/production_planning_tool/production_planning_tool.py b/manufacturing/doctype/production_planning_tool/production_planning_tool.py index 29232f5..90d9dc5 100644 --- a/manufacturing/doctype/production_planning_tool/production_planning_tool.py +++ b/manufacturing/doctype/production_planning_tool/production_planning_tool.py
@@ -243,10 +243,10 @@ "item_code": [qty_required, description, stock_uom, min_order_qty] } """ - bom_wise_item_details = {} item_list = [] for bom, so_wise_qty in bom_dict.items(): + bom_wise_item_details = {} if self.doc.use_multi_level_bom: # get all raw materials with sub assembly childs for d in webnotes.conn.sql("""select fb.item_code,