[fix][patch] bom exploded items
This commit is contained in:
parent
cca41a172c
commit
50899d2bd4
@ -23,7 +23,7 @@ def execute():
|
|||||||
if bom[0] not in updated_bom:
|
if bom[0] not in updated_bom:
|
||||||
try:
|
try:
|
||||||
bom_obj = webnotes.get_obj("BOM", bom[0], with_children=1)
|
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()
|
webnotes.conn.commit()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
Loading…
x
Reference in New Issue
Block a user