mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
refactor: Optimized code for reposting item valuation
This commit is contained in:
@@ -178,3 +178,4 @@ def on_doctype_update():
|
|||||||
|
|
||||||
frappe.db.add_index("Stock Ledger Entry", ["voucher_no", "voucher_type"])
|
frappe.db.add_index("Stock Ledger Entry", ["voucher_no", "voucher_type"])
|
||||||
frappe.db.add_index("Stock Ledger Entry", ["batch_no", "item_code", "warehouse"])
|
frappe.db.add_index("Stock Ledger Entry", ["batch_no", "item_code", "warehouse"])
|
||||||
|
frappe.db.add_index("Stock Ledger Entry", ["voucher_detail_no"])
|
||||||
|
|||||||
Reference in New Issue
Block a user