refactor: Optimized code for reposting item valuation

This commit is contained in:
Nabin Hait 2021-07-12 13:24:43 +05:30
parent 01aada6c90
commit 0003938f2b

View File

@ -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", ["batch_no", "item_code", "warehouse"])
frappe.db.add_index("Stock Ledger Entry", ["voucher_detail_no"])