[test] newsletter list
diff --git a/erpnext/patches/v5_0/convert_stock_reconciliation.py b/erpnext/patches/v5_0/convert_stock_reconciliation.py
index 2f262aa..4f856ea 100644
--- a/erpnext/patches/v5_0/convert_stock_reconciliation.py
+++ b/erpnext/patches/v5_0/convert_stock_reconciliation.py
@@ -15,8 +15,8 @@
 					sr.append("items", {
 						"item_code": item[0],
 						"warehouse": item[1],
-						"valuation_rate": item[3],
-						"qty": item[4]
+						"qty": item[3] if len(item) > 2 else None,
+						"valuation_rate": item[4] if len(item) > 3 else None
 					})
 
 				elif item[0]=="Item Code":