fix: added indexing to improve performance
(cherry picked from commit ac81323fec)
# Conflicts:
# erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.py
This commit is contained in:
committed by
Mergify
parent
7ae1df60be
commit
d9f7070f92
@@ -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'",
|
||||
@@ -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",
|
||||
@@ -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",
|
||||
|
||||
@@ -557,7 +557,8 @@
|
||||
"label": "Job Card Item",
|
||||
"no_copy": 1,
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
"read_only": 1,
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
@@ -572,7 +573,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",
|
||||
|
||||
@@ -6,4 +6,67 @@ from frappe.model.document import Document
|
||||
|
||||
|
||||
class StockEntryDetail(Document):
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
# begin: auto-generated types
|
||||
# This code is auto-generated. Do not modify anything in this block.
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from frappe.types import DF
|
||||
|
||||
actual_qty: DF.Float
|
||||
additional_cost: DF.Currency
|
||||
against_stock_entry: DF.Link | None
|
||||
allow_alternative_item: DF.Check
|
||||
allow_zero_valuation_rate: DF.Check
|
||||
amount: DF.Currency
|
||||
barcode: DF.Data | None
|
||||
basic_amount: DF.Currency
|
||||
basic_rate: DF.Currency
|
||||
batch_no: DF.Link | None
|
||||
bom_no: DF.Link | None
|
||||
conversion_factor: DF.Float
|
||||
cost_center: DF.Link | None
|
||||
description: DF.TextEditor | None
|
||||
expense_account: DF.Link | None
|
||||
has_item_scanned: DF.Check
|
||||
image: DF.Attach | None
|
||||
is_finished_item: DF.Check
|
||||
is_scrap_item: DF.Check
|
||||
item_code: DF.Link
|
||||
item_group: DF.Data | None
|
||||
item_name: DF.Data | None
|
||||
job_card_item: DF.Data | None
|
||||
material_request: DF.Link | None
|
||||
material_request_item: DF.Link | None
|
||||
original_item: DF.Link | None
|
||||
parent: DF.Data
|
||||
parentfield: DF.Data
|
||||
parenttype: DF.Data
|
||||
po_detail: DF.Data | None
|
||||
project: DF.Link | None
|
||||
putaway_rule: DF.Link | None
|
||||
qty: DF.Float
|
||||
quality_inspection: DF.Link | None
|
||||
reference_purchase_receipt: DF.Link | None
|
||||
retain_sample: DF.Check
|
||||
s_warehouse: DF.Link | None
|
||||
sample_quantity: DF.Int
|
||||
sco_rm_detail: DF.Data | None
|
||||
serial_and_batch_bundle: DF.Link | None
|
||||
serial_no: DF.SmallText | None
|
||||
set_basic_rate_manually: DF.Check
|
||||
ste_detail: DF.Data | None
|
||||
stock_uom: DF.Link
|
||||
subcontracted_item: DF.Link | None
|
||||
t_warehouse: DF.Link | None
|
||||
transfer_qty: DF.Float
|
||||
transferred_qty: DF.Float
|
||||
uom: DF.Link
|
||||
valuation_rate: DF.Currency
|
||||
# end: auto-generated types
|
||||
|
||||
>>>>>>> ac81323fec (fix: added indexing to improve performance)
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user