Added index on SLE based on batch_no, item and warehouse
This commit is contained in:
parent
20a80fee45
commit
0c0c345678
@ -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"])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user