Test case added for MTN
diff --git a/erpnext/sandbox/test_stock_entry.py b/erpnext/sandbox/test_stock_entry.py
index 44e1405..0f986a8 100644
--- a/erpnext/sandbox/test_stock_entry.py
+++ b/erpnext/sandbox/test_stock_entry.py
@@ -186,18 +186,6 @@
return ste
#===========================================================================
- def check_serial_no(self, action, cnt):
- print "Checking serial nos........"
- if action == 'submit':
- status, wh, docstatus = 'In Store', 'wh1', 0
- else:
- status, wh, docstatus = 'Not in Use', '', 2
-
- ser = sql("select count(name) from `tabSerial No` where item_code = 'it' and warehouse = '%s' and status = '%s' and docstatus = %s" % (wh, status, docstatus))
-
- self.assertTrue(ser[0][0] == cnt)
-
- #===========================================================================
def tearDown(self):
webnotes.conn.rollback()
@@ -267,7 +255,6 @@
'voucher_no': stock_entry.mtn[0].name,
'actual_qty': -5,
'bin_aqat': 5,
- #'valuation_rate': 100,
'is_cancelled': 'Yes'
}, {
'doctype': 'Stock Ledger Entry',
@@ -286,8 +273,6 @@
'voucher_type': 'Stock Entry',
'voucher_no': stock_entry.mtn[0].name,
'actual_qty': 5,
- #'bin_aqat': 10,
- #'valuation_rate': 100,
'is_cancelled': 'Yes'
}, {
'doctype': 'Stock Ledger Entry',
@@ -296,8 +281,6 @@
'voucher_type': 'Stock Entry',
'voucher_no': stock_entry.mtn[0].name,
'actual_qty': -5,
- #'bin_aqat': 0,
- #'valuation_rate': 100,
'is_cancelled': 'Yes'
}]
}