[material request on re-order level] [fixes] if error occurs, send email to the System Manager

This commit is contained in:
Anand Doshi
2013-06-17 11:57:04 +05:30
parent 0865f60673
commit ad6180ef6d
4 changed files with 81 additions and 41 deletions

View File

@@ -21,6 +21,9 @@ class TestStockEntry(unittest.TestCase):
st2.insert()
st2.submit()
from stock.utils import reorder_item
reorder_item()
mr_name = webnotes.conn.sql("""select parent from `tabMaterial Request Item`
where item_code='_Test Item'""")