commit | db159dd11f66862f35123041d2195fe6490a243f | [log] [tgz] |
---|---|---|
author | s-aga-r <sagarsharma.s312@gmail.com> | Mon Jun 12 18:28:16 2023 +0530 |
committer | s-aga-r <sagarsharma.s312@gmail.com> | Mon Jun 12 18:28:16 2023 +0530 |
tree | 5664413ec8280fa2b2432dd41bc7064ec7e62cfd | |
parent | 42f4f80e0cc4fc6a52f4bce99234b8f1b8ddc395 [diff] |
fix: Stock Reconciliation document update while reposting
diff --git a/erpnext/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py index dc481e8..a668ab8 100644 --- a/erpnext/stock/stock_ledger.py +++ b/erpnext/stock/stock_ledger.py
@@ -944,7 +944,7 @@ for item in sr.items: # Skip for Serial and Batch Items - if item.serial_no or item.batch_no: + if item.name != sle.voucher_detail_no or item.serial_no or item.batch_no: continue previous_sle = get_previous_sle(