mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
Fix in Stock Entry test case
This commit is contained in:
@@ -664,7 +664,7 @@ class TestStockEntry(unittest.TestCase):
|
|||||||
def test_serial_no_not_exists(self):
|
def test_serial_no_not_exists(self):
|
||||||
self._clear_stock_account_balance()
|
self._clear_stock_account_balance()
|
||||||
frappe.db.sql("delete from `tabSerial No` where name in ('ABCD', 'EFGH')")
|
frappe.db.sql("delete from `tabSerial No` where name in ('ABCD', 'EFGH')")
|
||||||
make_serialized_item()
|
make_serialized_item(target_warehouse="_Test Warehouse 1 - _TC")
|
||||||
se = frappe.copy_doc(test_records[0])
|
se = frappe.copy_doc(test_records[0])
|
||||||
se.purpose = "Material Issue"
|
se.purpose = "Material Issue"
|
||||||
se.get("mtn_details")[0].item_code = "_Test Serialized Item With Series"
|
se.get("mtn_details")[0].item_code = "_Test Serialized Item With Series"
|
||||||
|
|||||||
Reference in New Issue
Block a user