mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
[fix][patch] bom exploded items
This commit is contained in:
@@ -23,7 +23,7 @@ def execute():
|
||||
if bom[0] not in updated_bom:
|
||||
try:
|
||||
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(bom[0])
|
||||
webnotes.conn.commit()
|
||||
except:
|
||||
pass
|
||||
Reference in New Issue
Block a user