mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
BugFix: Production Planning Tool - get_raw_materials
This commit is contained in:
@@ -243,10 +243,10 @@ class DocType:
|
|||||||
"item_code": [qty_required, description, stock_uom, min_order_qty]
|
"item_code": [qty_required, description, stock_uom, min_order_qty]
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
bom_wise_item_details = {}
|
|
||||||
item_list = []
|
item_list = []
|
||||||
|
|
||||||
for bom, so_wise_qty in bom_dict.items():
|
for bom, so_wise_qty in bom_dict.items():
|
||||||
|
bom_wise_item_details = {}
|
||||||
if self.doc.use_multi_level_bom:
|
if self.doc.use_multi_level_bom:
|
||||||
# get all raw materials with sub assembly childs
|
# get all raw materials with sub assembly childs
|
||||||
for d in webnotes.conn.sql("""select fb.item_code,
|
for d in webnotes.conn.sql("""select fb.item_code,
|
||||||
|
|||||||
Reference in New Issue
Block a user