mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 00:06:22 +00:00
Added index on SLE based on batch_no, item and warehouse
This commit is contained in:
@@ -131,3 +131,5 @@ def on_doctype_update():
|
||||
add index posting_sort_index(posting_date, posting_time, name)""")
|
||||
|
||||
frappe.db.add_index("Stock Ledger Entry", ["voucher_no", "voucher_type"])
|
||||
frappe.db.add_index("Stock Ledger Entry", ["batch_no", "item_code", "warehouse"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user