fix: performance issue by adding index

(cherry picked from commit 1afc75b15a)

# Conflicts:
#	erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json
#	erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json
This commit is contained in:
Rohit Waghchaure
2025-10-14 13:02:56 +05:30
committed by Mergify
parent b82f8648f1
commit e4fd49e991
2 changed files with 16 additions and 5 deletions

View File

@@ -912,7 +912,8 @@
"label": "Rejected Serial and Batch Bundle",
"no_copy": 1,
"options": "Serial and Batch Bundle",
"print_hide": 1
"print_hide": 1,
"search_index": 1
},
{
"fieldname": "wip_composite_asset",
@@ -983,7 +984,11 @@
"idx": 1,
"istable": 1,
"links": [],
<<<<<<< HEAD
"modified": "2025-03-12 16:33:13.453290",
=======
"modified": "2025-10-14 13:00:54.441511",
>>>>>>> 1afc75b15a (fix: performance issue by adding index)
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice Item",
@@ -993,4 +998,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
}

View File

@@ -778,7 +778,8 @@
"fieldtype": "Data",
"hidden": 1,
"label": "Material Request Item",
"read_only": 1
"read_only": 1,
"search_index": 1
},
{
"fieldname": "expense_account",
@@ -1038,7 +1039,8 @@
"fieldtype": "Link",
"label": "Rejected Serial and Batch Bundle",
"no_copy": 1,
"options": "Serial and Batch Bundle"
"options": "Serial and Batch Bundle",
"search_index": 1
},
{
"depends_on": "eval:doc.use_serial_batch_fields === 0",
@@ -1147,7 +1149,11 @@
"idx": 1,
"istable": 1,
"links": [],
<<<<<<< HEAD
"modified": "2025-03-12 17:10:43.780622",
=======
"modified": "2025-10-14 12:58:20.384056",
>>>>>>> 1afc75b15a (fix: performance issue by adding index)
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt Item",
@@ -1158,4 +1164,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
}