mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-06 03:52:15 +00:00
bom exploded items grouped by items
This commit is contained in:
@@ -22,4 +22,5 @@ def execute():
|
||||
for bom in webnotes.conn.sql("select name from tabBOM where docstatus < 2"):
|
||||
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)
|
||||
updated_bom = bom_obj.update_cost_and_exploded_items(updated_bom)
|
||||
webnotes.conn.commit()
|
||||
Reference in New Issue
Block a user