Skip to content

Commit

Permalink
Merge pull request #39333 from rohitwaghchaure/fixed-added-indexing-t…
Browse files Browse the repository at this point in the history
…o-improve-performance

fix: added indexing to improve performance
  • Loading branch information
rohitwaghchaure authored Jan 12, 2024
2 parents d3aff00 + ac81323 commit 3b07700
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions erpnext/stock/doctype/stock_entry/stock_entry.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
"in_standard_filter": 1,
"label": "Stock Entry Type",
"options": "Stock Entry Type",
"reqd": 1
"reqd": 1,
"search_index": 1
},
{
"depends_on": "eval:doc.purpose == 'Material Transfer'",
Expand Down Expand Up @@ -546,7 +547,8 @@
"label": "Job Card",
"options": "Job Card",
"print_hide": 1,
"read_only": 1
"read_only": 1,
"search_index": 1
},
{
"fieldname": "amended_from",
Expand Down Expand Up @@ -679,7 +681,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2023-06-19 18:23:40.748114",
"modified": "2024-01-12 11:56:58.644882",
"modified_by": "Administrator",
"module": "Stock",
"name": "Stock Entry",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,8 @@
"label": "Job Card Item",
"no_copy": 1,
"print_hide": 1,
"read_only": 1
"read_only": 1,
"search_index": 1
},
{
"default": "0",
Expand Down Expand Up @@ -589,7 +590,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2023-05-09 12:41:18.210864",
"modified": "2024-01-12 11:56:04.626103",
"modified_by": "Administrator",
"module": "Stock",
"name": "Stock Entry Detail",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class StockEntryDetail(Document):
allow_alternative_item: DF.Check
allow_zero_valuation_rate: DF.Check
amount: DF.Currency
attach_something_here: DF.Attach | None
barcode: DF.Data | None
basic_amount: DF.Currency
basic_rate: DF.Currency
Expand Down

0 comments on commit 3b07700

Please sign in to comment.