fix: improved indexing for SLE queries. (backport #47194) (#47822)

* fix: improved indexing for SLE queries. (#47194)

(cherry picked from commit b49a835b4c)

# Conflicts:
#	erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.json

* chore: fix conflicts

---------

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2025-05-30 15:36:51 +05:30
committed by GitHub
parent 9df3b9b059
commit 3879cbd86d
11 changed files with 31 additions and 19 deletions

View File

@@ -5,7 +5,6 @@ INDEXED_FIELDS = {
"Bin": ["item_code"],
"GL Entry": ["voucher_no", "posting_date", "company", "party"],
"Purchase Order Item": ["item_code"],
"Stock Ledger Entry": ["warehouse"],
}