Merge pull request #47296 from mihir-kandoi/st35392-2

fix: fix sub assembly qty calculation in production plan when bom level >= 1
This commit is contained in:
Mihir Kandoi
2025-04-29 11:36:10 +05:30
committed by GitHub

View File

@@ -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))