From 0b36e7d10ec42a4baac2af8f41a2817ed06b711d Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Tue, 8 Aug 2023 15:18:27 +0530 Subject: [PATCH] fix: stock reconciliation negative stock error (#36544) fix: stock reco negative stock error --- .../stock/doctype/stock_reconciliation/stock_reconciliation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py index 6ea27edc45..f009bd42e4 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py @@ -696,7 +696,7 @@ class StockReconciliation(StockController): ) if sl_entries: - self.make_sl_entries(sl_entries) + self.make_sl_entries(sl_entries, allow_negative_stock=True) def recalculate_qty_for_serial_and_batch_bundle(self, row): doc = frappe.get_doc("Serial and Batch Bundle", row.current_serial_and_batch_bundle)