fix(tests): Save batch instead of submitting it (#17636)

This commit is contained in:
Rohan
2019-05-16 19:45:11 +05:30
committed by Nabin Hait
parent 43c6d1a518
commit 0a22aab6bb

View File

@@ -176,7 +176,7 @@ class TestBatch(unittest.TestCase):
item = item_name,
batch_id = batch_name
)).insert(ignore_permissions=True)
batch.submit()
batch.save()
stock_entry = frappe.get_doc(dict(
doctype = 'Stock Entry',