fix: incorrect work order qty for sub assembly items (#20449)
This commit is contained in:
parent
2bb3a62b1a
commit
da9a3936e1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user