brotherton-erpnext/erpnext/stock
Ankush Menat 6019f60d0a
fix(perf): index creation on voucher_detail_no (#27866)
voucher_detail_no is supposed to have an index, it was added on
on_doctype_update function of table, however this function is only
called if DocType itself is updated and `on_update` is called on
DocType. Stock ledger Entry doctype hasn't changed since addition of
this index in function.

Before: Lack of this index was causing full table scan in
get_future_sle_to_fix function. (~50 seconds in a reposting job)

After: Single row is fetched (~0.5 second in full reposting job)

Learnings:
1. Add simple indexes via doctype only
2. For complex indexes always change doctype.json file for it to take
   effect.
2021-10-08 16:12:15 +05:30
..
dashboard chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
dashboard_chart fix: add range filters to oldest items chart 2020-07-29 18:06:54 +05:30
dashboard_chart_source chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
doctype fix(perf): index creation on voucher_detail_no (#27866) 2021-10-08 16:12:15 +05:30
form_tour feat: Accounts, Selling & Assets Onboarding cleanup (#27112) 2021-08-27 15:47:11 +05:30
module_onboarding/stock fix: minor changes 2021-08-20 16:21:33 +05:30
number_card chore: Export Stock Dashboard (#22768) 2020-07-22 16:17:40 +05:30
onboarding_slide/add_a_few_products_you_buy_or_sell fix: remove illustrations from onboarding slides (#19872) 2019-12-23 08:24:46 +05:30
onboarding_step fix: minor changes 2021-08-20 16:21:33 +05:30
page chore: mass trailing whitespace and EOF fixes 2021-08-19 13:43:28 +05:30
print_format fix: Update pick list print format 2019-08-30 15:59:35 +05:30
report test: automated test for running all stock reports (#27510) 2021-09-15 19:24:35 +05:30
stock_dashboard/stock chore: Export Stock Dashboard (#22768) 2020-07-22 16:17:40 +05:30
workspace/stock fix: updated erpnext wspace json files (#26380) 2021-08-13 12:19:16 +05:30
__init__.py chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
get_item_details.py refactor: Clean up mutable defaults and add CI check (#27828) 2021-10-06 16:58:48 +00:00
landed_taxes_and_charges_common.js chore: mass trailing whitespace and EOF fixes 2021-08-19 13:43:28 +05:30
README.md
reorder_item.py fix: use ceil in case of whole uoms for reorder qty (#27834) 2021-10-06 18:16:33 +05:30
stock_balance.py chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
stock_ledger.py fix: not able to submit stock entry with 350 items (#27523) 2021-09-15 20:42:47 +05:30
utils.py chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30

Inventory management module.