mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
fix(manufacturing): fetch from_bom name in production plan (#55085)
This commit is contained in:
@@ -1314,6 +1314,7 @@ def get_exploded_items(item_details, company, bom_no, include_non_stock_items, p
|
|||||||
item_uom.conversion_factor,
|
item_uom.conversion_factor,
|
||||||
item.safety_stock,
|
item.safety_stock,
|
||||||
bom.item.as_("main_bom_item"),
|
bom.item.as_("main_bom_item"),
|
||||||
|
bom.name.as_("main_bom"),
|
||||||
)
|
)
|
||||||
.where(
|
.where(
|
||||||
(bei.docstatus < 2)
|
(bei.docstatus < 2)
|
||||||
@@ -1383,6 +1384,7 @@ def get_subitems(
|
|||||||
item.purchase_uom,
|
item.purchase_uom,
|
||||||
item_uom.conversion_factor,
|
item_uom.conversion_factor,
|
||||||
bom.item.as_("main_bom_item"),
|
bom.item.as_("main_bom_item"),
|
||||||
|
bom.name.as_("main_bom"),
|
||||||
bom_item.is_phantom_item,
|
bom_item.is_phantom_item,
|
||||||
)
|
)
|
||||||
.where(
|
.where(
|
||||||
|
|||||||
Reference in New Issue
Block a user