stock reco fises
diff --git a/stock/doctype/stock_reconciliation/stock_reconciliation.py b/stock/doctype/stock_reconciliation/stock_reconciliation.py
index 8afe1d2..4ab0acc 100644
--- a/stock/doctype/stock_reconciliation/stock_reconciliation.py
+++ b/stock/doctype/stock_reconciliation/stock_reconciliation.py
@@ -192,8 +192,9 @@
def _insert_entries():
if previous_stock_queue != [[row.qty, row.valuation_rate]]:
# make entry as per attachment
- self.insert_entries({"actual_qty": row.qty,
- "incoming_rate": flt(row.valuation_rate)}, row)
+ if row.qty:
+ self.insert_entries({"actual_qty": row.qty,
+ "incoming_rate": flt(row.valuation_rate)}, row)
# Make reverse entry
if previous_stock_qty: