mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
fix: fix sub assembly qty calculation in production plan when bom level >= 1
This commit is contained in:
@@ -1804,6 +1804,7 @@ def get_sub_assembly_items(
|
||||
continue
|
||||
else:
|
||||
stock_qty = stock_qty - _bin_dict.projected_qty
|
||||
sub_assembly_items.append(d.item_code)
|
||||
elif warehouse:
|
||||
bin_details.setdefault(d.item_code, get_bin_details(d, company, for_warehouse=warehouse))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user