Stock Entry: pulling items from BOM fixed #1579
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py
index 076628e..e329901 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.py
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.py
@@ -395,6 +395,8 @@
 		return ret
 
 	def get_items(self):
+		self.set('mtn_details', [])
+
 		pro_obj = None
 		if self.production_order:
 			# common validations