test: ensure no regression after save and submit on disassemble

This commit is contained in:
Smit Vora
2025-12-19 18:19:40 +05:30
parent df13308663
commit 18ac589796

View File

@@ -2541,6 +2541,8 @@ class TestWorkOrder(IntegrationTestCase):
# Disassembly for 4 units
disassemble_qty = 4
stock_entry = frappe.get_doc(make_stock_entry(wo.name, "Disassemble", disassemble_qty))
stock_entry.save()
stock_entry.submit()
item_counts = {}
for item in stock_entry.items: