Merge pull request #48061 from rohitwaghchaure/fixed-support-40585-1

fix: incorrect warehouse set from SO to MR
This commit is contained in:
rohitwaghchaure
2025-06-16 10:11:11 +05:30
committed by GitHub

View File

@@ -1245,6 +1245,7 @@ def get_exploded_items(item_details, company, bom_no, include_non_stock_items, p
item.purchase_uom,
item_uom.conversion_factor,
item.safety_stock,
bom.item.as_("main_bom_item"),
)
.where(
(bei.docstatus < 2)
@@ -1993,6 +1994,7 @@ def get_raw_materials_of_sub_assembly_items(
item.purchase_uom,
item_uom.conversion_factor,
item.safety_stock,
bom.item.as_("main_bom_item"),
)
.where(
(bei.docstatus == 1)