commit | a094560b8b019b87c956a6839abced06c1126b6f | [log] [tgz] |
---|---|---|
author | Rohan <Alchez@users.noreply.github.com> | Thu May 16 19:44:55 2019 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Thu May 16 19:44:55 2019 +0530 |
tree | f2340697cefc25154197aed2508279738113a242 | |
parent | 8ec3718abad5e20292eb06b65057847af48fd63b [diff] |
fix(tests): Save batch instead of submitting it (#17637)
diff --git a/erpnext/stock/doctype/batch/test_batch.py b/erpnext/stock/doctype/batch/test_batch.py index 737f528..56b4607 100644 --- a/erpnext/stock/doctype/batch/test_batch.py +++ b/erpnext/stock/doctype/batch/test_batch.py
@@ -182,7 +182,7 @@ item = item_name, batch_id = batch_name )).insert(ignore_permissions=True) - batch.submit() + batch.save() stock_entry = frappe.get_doc(dict( doctype = 'Stock Entry',