diff --git a/erpnext/manufacturing/doctype/work_order/test_work_order.py b/erpnext/manufacturing/doctype/work_order/test_work_order.py index 82c668c16d0..7afa2ba3537 100644 --- a/erpnext/manufacturing/doctype/work_order/test_work_order.py +++ b/erpnext/manufacturing/doctype/work_order/test_work_order.py @@ -1147,6 +1147,7 @@ class TestWorkOrder(FrappeTestCase): @change_settings("Manufacturing Settings", {"make_serial_no_batch_from_work_order": 1}) def test_auto_serial_no_creation(self): + from erpnext.stock.doctype.serial_no.serial_no import get_serial_nos from erpnext.manufacturing.doctype.bom.test_bom import create_nested_bom fg_item = frappe.generate_hash(length=20)