Merge pull request #1949 from anandpdoshi/anand-july-17

Fix in Stock Entry test case
This commit is contained in:
Anand Doshi 2014-07-17 12:37:42 +05:30
commit e8332be285

View File

@ -664,7 +664,7 @@ class TestStockEntry(unittest.TestCase):
def test_serial_no_not_exists(self):
self._clear_stock_account_balance()
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.purpose = "Material Issue"
se.get("mtn_details")[0].item_code = "_Test Serialized Item With Series"