fix(tests): Save batch instead of submitting it (#17637)
This commit is contained in:
parent
8ec3718aba
commit
a094560b8b
@ -182,7 +182,7 @@ class TestBatch(unittest.TestCase):
|
|||||||
item = item_name,
|
item = item_name,
|
||||||
batch_id = batch_name
|
batch_id = batch_name
|
||||||
)).insert(ignore_permissions=True)
|
)).insert(ignore_permissions=True)
|
||||||
batch.submit()
|
batch.save()
|
||||||
|
|
||||||
stock_entry = frappe.get_doc(dict(
|
stock_entry = frappe.get_doc(dict(
|
||||||
doctype = 'Stock Entry',
|
doctype = 'Stock Entry',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user