Item managed batch-wise, can not be reconciled through stock reconciliation
diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py
index 870fcd0..4bc34d6 100644
--- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py
+++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py
@@ -106,6 +106,11 @@
if item.has_serial_no == "Yes":
raise frappe.ValidationError, _("Serialized Item {0} cannot be updated using Stock Reconciliation").format(item_code)
+ # item managed batch-wise not allowed
+ if item.has_batch_no == "Yes":
+ frappe.throw(_("Item: {0} managed batch-wise, can not be reconciled using \
+ Stock Reconciliation, instead use Stock Entry").format(item_code))
+
# docstatus should be < 2
validate_cancelled_item(item_code, item.docstatus, verbose=0)