fix: incorrect work order qty for sub assembly items (#20448)

This commit is contained in:
rohitwaghchaure
2020-01-28 14:34:54 +05:30
committed by Nabin Hait
parent df94f0565e
commit 8e5b812a97

View File

@@ -729,6 +729,6 @@ def get_sub_assembly_items(bom_no, bom_data):
})
bom_item = bom_data.get(key)
bom_item["stock_qty"] += d.stock_qty
bom_item["stock_qty"] += d.stock_qty / d.parent_bom_qty
get_sub_assembly_items(bom_item.get("bom_no"), bom_data)