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

This commit is contained in:
rohitwaghchaure 2020-01-28 14:34:27 +05:30 committed by Nabin Hait
parent 2bb3a62b1a
commit da9a3936e1

View File

@ -732,6 +732,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)