fix(manufacturing): fetch from_bom name in production plan (backport #55085) (#55092)

Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com>
fix(manufacturing): fetch from_bom name in production plan (#55085)
This commit is contained in:
mergify[bot]
2026-05-20 09:19:31 +00:00
committed by GitHub
parent 56a9b37fac
commit 36aca51fbb

View File

@@ -1315,6 +1315,7 @@ def get_exploded_items(item_details, company, bom_no, include_non_stock_items, p
item_uom.conversion_factor,
item.safety_stock,
bom.item.as_("main_bom_item"),
bom.name.as_("main_bom"),
)
.where(
(bei.docstatus < 2)
@@ -1384,6 +1385,7 @@ def get_subitems(
item.purchase_uom,
item_uom.conversion_factor,
bom.item.as_("main_bom_item"),
bom.name.as_("main_bom"),
bom_item.is_phantom_item,
)
.where(