test: maintain sufficient stock for scrap item

(cherry picked from commit b892139342)
This commit is contained in:
Smit Vora
2026-04-07 10:27:41 +05:30
committed by Mergify
parent 84d5b52483
commit 7767659b87

View File

@@ -2639,6 +2639,15 @@ class TestWorkOrder(FrappeTestCase):
)
# -- 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(
{