mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
fix: incorrect warehouse set from SO to MR
This commit is contained in:
@@ -1245,6 +1245,7 @@ def get_exploded_items(item_details, company, bom_no, include_non_stock_items, p
|
|||||||
item.purchase_uom,
|
item.purchase_uom,
|
||||||
item_uom.conversion_factor,
|
item_uom.conversion_factor,
|
||||||
item.safety_stock,
|
item.safety_stock,
|
||||||
|
bom.item.as_("main_bom_item"),
|
||||||
)
|
)
|
||||||
.where(
|
.where(
|
||||||
(bei.docstatus < 2)
|
(bei.docstatus < 2)
|
||||||
@@ -1993,6 +1994,7 @@ def get_raw_materials_of_sub_assembly_items(
|
|||||||
item.purchase_uom,
|
item.purchase_uom,
|
||||||
item_uom.conversion_factor,
|
item_uom.conversion_factor,
|
||||||
item.safety_stock,
|
item.safety_stock,
|
||||||
|
bom.item.as_("main_bom_item"),
|
||||||
)
|
)
|
||||||
.where(
|
.where(
|
||||||
(bei.docstatus == 1)
|
(bei.docstatus == 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user