fix: Import statements
This commit is contained in:
parent
54a0f5d04f
commit
07b25c4275
@ -21,6 +21,12 @@ from erpnext.selling.doctype.sales_order.sales_order import (
|
||||
make_sales_invoice,
|
||||
make_work_orders,
|
||||
)
|
||||
from erpnext.maintenance.doctype.maintenance_schedule.test_maintenance_schedule import (
|
||||
make_maintenance_schedule,
|
||||
)
|
||||
from erpnext.maintenance.doctype.maintenance_visit.test_maintenance_visit import (
|
||||
make_maintenance_visit,
|
||||
)
|
||||
from erpnext.stock.doctype.item.test_item import make_item
|
||||
from erpnext.stock.doctype.stock_entry.stock_entry_utils import make_stock_entry
|
||||
|
||||
@ -1309,10 +1315,6 @@ class TestSalesOrder(unittest.TestCase):
|
||||
"""
|
||||
Expected result: Sales Order should not get cancelled
|
||||
"""
|
||||
from erpnext.maintenance.doctype.maintenance_schedule.test_maintenance_schedule import (
|
||||
make_maintenance_schedule
|
||||
)
|
||||
|
||||
so = make_sales_order()
|
||||
so.submit()
|
||||
ms = make_maintenance_schedule()
|
||||
@ -1326,10 +1328,6 @@ class TestSalesOrder(unittest.TestCase):
|
||||
"""
|
||||
Expected result: Sales Order should not get cancelled
|
||||
"""
|
||||
from erpnext.maintenance.doctype.maintenance_visit.test_maintenance_visit import (
|
||||
make_maintenance_visit
|
||||
)
|
||||
|
||||
so = make_sales_order()
|
||||
so.submit()
|
||||
mv = make_maintenance_visit()
|
||||
|
Loading…
Reference in New Issue
Block a user