commit | fcfa8842a7d0413a865741be4f7904034b365411 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Apr 20 09:48:15 2023 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Apr 20 09:48:15 2023 +0530 |
tree | 8d4efa5368df34eb3e5a2281f2f1104fced4ae19 | |
parent | dd238aa5b4656e0163fc17b791ec9c4f81e5cc7c [diff] |
fix: limit stock reco issue
diff --git a/erpnext/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py index b638f08..c197769 100644 --- a/erpnext/stock/stock_ledger.py +++ b/erpnext/stock/stock_ledger.py
@@ -1453,6 +1453,7 @@ ) .orderby(CombineDatetime(sle.posting_date, sle.posting_time)) .orderby(sle.creation) + .limit(1) ) if kwargs.get("batch_no"):