From f57f0a661ab78873ffa0a4912cbc9fe3cd2b24de Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 5 May 2014 10:27:53 +0530 Subject: [PATCH] Stock Entry: pulling items from BOM fixed #1579 --- erpnext/stock/doctype/stock_entry/stock_entry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py index 076628ee65..e3299016db 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/stock_entry.py @@ -395,6 +395,8 @@ class StockEntry(StockController): return ret def get_items(self): + self.set('mtn_details', []) + pro_obj = None if self.production_order: # common validations