From 16112630ea56b69671abb4f746a42547b2ddc708 Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Fri, 19 Dec 2025 18:19:40 +0530 Subject: [PATCH] test: ensure no regression after save and submit on disassemble (cherry picked from commit 18ac5897960a65b20fa41a1d59d8c853550e3327) --- erpnext/manufacturing/doctype/work_order/test_work_order.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/manufacturing/doctype/work_order/test_work_order.py b/erpnext/manufacturing/doctype/work_order/test_work_order.py index 4dbe95fb238..c254171b990 100644 --- a/erpnext/manufacturing/doctype/work_order/test_work_order.py +++ b/erpnext/manufacturing/doctype/work_order/test_work_order.py @@ -2542,6 +2542,8 @@ class TestWorkOrder(FrappeTestCase): # 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: