diff --git a/erpnext/selling/doctype/quotation/test_quotation.py b/erpnext/selling/doctype/quotation/test_quotation.py index 1086ce09ef5..ae756f34288 100644 --- a/erpnext/selling/doctype/quotation/test_quotation.py +++ b/erpnext/selling/doctype/quotation/test_quotation.py @@ -886,6 +886,8 @@ class TestQuotation(FrappeTestCase): ) def test_over_order_limit(self): + from erpnext.selling.doctype.quotation.quotation import make_sales_order + quotation = make_quotation(qty=5) so1 = make_sales_order(quotation.name) so2 = make_sales_order(quotation.name)