mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-21 10:26:30 +00:00
fix(tests): Save batch instead of submitting it (#17636)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user