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