test: maintain sufficient stock for scrap item

This commit is contained in:
Smit Vora
2026-04-07 10:27:41 +05:30
parent ab1fc22431
commit b892139342

View File

@@ -2658,6 +2658,15 @@ class TestWorkOrder(ERPNextTestSuite):
)
# -- BOM-path disassembly (no source_stock_entry, no work_order) --
make_stock_entry_test_record(
item_code=scrap_item,
purpose="Material Receipt",
target=wo.fg_warehouse,
qty=50,
basic_rate=10,
)
bom_disassemble_qty = 2
bom_se = frappe.get_doc(
{