mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-20 01:55:01 +00:00
fix: incorrect work order qty for sub assembly items (#20448)
This commit is contained in:
committed by
Nabin Hait
parent
df94f0565e
commit
8e5b812a97
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user