From 1c2da9223382c0ad099e6df1186a86d7c304dee7 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 26 Jul 2023 13:03:23 +0530 Subject: [PATCH] fix: timeout error while cancelling the Purchase Receipt --- .../purchase_invoice_item.json | 8 +++++--- .../sales_invoice_item/sales_invoice_item.json | 8 +++++--- .../delivery_note_item/delivery_note_item.json | 8 +++++--- .../doctype/pick_list_item/pick_list_item.json | 8 +++++--- .../purchase_receipt_item.json | 9 +++++---- .../serial_and_batch_bundle.json | 14 +++++++++----- .../stock_reconciliation_item.json | 8 +++++--- 7 files changed, 39 insertions(+), 24 deletions(-) diff --git a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json index 4afc4512ff..81c7577467 100644 --- a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json +++ b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json @@ -443,7 +443,8 @@ "hidden": 1, "label": "Batch No", "options": "Batch", - "read_only": 1 + "read_only": 1, + "search_index": 1 }, { "fieldname": "col_br_wh", @@ -890,7 +891,8 @@ "label": "Serial and Batch Bundle", "no_copy": 1, "options": "Serial and Batch Bundle", - "print_hide": 1 + "print_hide": 1, + "search_index": 1 }, { "depends_on": "eval:parent.update_stock == 1", @@ -905,7 +907,7 @@ "idx": 1, "istable": 1, "links": [], - "modified": "2023-07-04 17:22:21.501152", + "modified": "2023-07-26 12:54:53.178156", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice Item", diff --git a/erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json b/erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json index f3e21858c4..abeaab1d25 100644 --- a/erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json +++ b/erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json @@ -604,7 +604,8 @@ "hidden": 1, "label": "Batch No", "options": "Batch", - "read_only": 1 + "read_only": 1, + "search_index": 1 }, { "fieldname": "col_break5", @@ -894,13 +895,14 @@ "label": "Serial and Batch Bundle", "no_copy": 1, "options": "Serial and Batch Bundle", - "print_hide": 1 + "print_hide": 1, + "search_index": 1 } ], "idx": 1, "istable": 1, "links": [], - "modified": "2023-03-12 13:42:24.303113", + "modified": "2023-07-26 12:53:22.404057", "modified_by": "Administrator", "module": "Accounts", "name": "Sales Invoice Item", diff --git a/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json b/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json index ba0f28a13c..d3236ba0ba 100644 --- a/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json +++ b/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json @@ -854,7 +854,8 @@ "label": "Serial and Batch Bundle", "no_copy": 1, "options": "Serial and Batch Bundle", - "print_hide": 1 + "print_hide": 1, + "search_index": 1 }, { "fieldname": "pick_serial_and_batch", @@ -884,14 +885,15 @@ "hidden": 1, "label": "Batch No", "options": "Batch", - "read_only": 1 + "read_only": 1, + "search_index": 1 } ], "idx": 1, "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2023-05-02 21:05:14.175640", + "modified": "2023-07-26 12:53:49.357171", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Note Item", diff --git a/erpnext/stock/doctype/pick_list_item/pick_list_item.json b/erpnext/stock/doctype/pick_list_item/pick_list_item.json index 2b519f5878..2e56af3395 100644 --- a/erpnext/stock/doctype/pick_list_item/pick_list_item.json +++ b/erpnext/stock/doctype/pick_list_item/pick_list_item.json @@ -83,7 +83,8 @@ "fieldtype": "Link", "label": "Batch No", "options": "Batch", - "read_only": 1 + "read_only": 1, + "search_index": 1 }, { "fieldname": "column_break_2", @@ -199,7 +200,8 @@ "label": "Serial and Batch Bundle", "no_copy": 1, "options": "Serial and Batch Bundle", - "print_hide": 1 + "print_hide": 1, + "search_index": 1 }, { "fieldname": "pick_serial_and_batch", @@ -209,7 +211,7 @@ ], "istable": 1, "links": [], - "modified": "2023-06-16 14:05:51.719959", + "modified": "2023-07-26 12:54:15.785962", "modified_by": "Administrator", "module": "Stock", "name": "Pick List Item", diff --git a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json index bc5e8a0f37..d31fec54c6 100644 --- a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json +++ b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json @@ -502,7 +502,6 @@ { "fieldname": "rejected_warehouse", "fieldtype": "Link", - "ignore_user_permissions": 1, "label": "Rejected Warehouse", "no_copy": 1, "oldfieldname": "rejected_warehouse", @@ -1003,7 +1002,8 @@ "label": "Serial and Batch Bundle", "no_copy": 1, "options": "Serial and Batch Bundle", - "print_hide": 1 + "print_hide": 1, + "search_index": 1 }, { "depends_on": "eval:parent.is_old_subcontracting_flow", @@ -1028,7 +1028,8 @@ "fieldtype": "Link", "label": "Batch No", "options": "Batch", - "read_only": 1 + "read_only": 1, + "search_index": 1 }, { "fieldname": "rejected_serial_and_batch_bundle", @@ -1059,7 +1060,7 @@ "idx": 1, "istable": 1, "links": [], - "modified": "2023-07-04 17:22:02.830029", + "modified": "2023-07-26 12:55:15.234477", "modified_by": "Administrator", "module": "Stock", "name": "Purchase Receipt Item", diff --git a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json index c5b96ff0fe..15bd2f0475 100644 --- a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json +++ b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json @@ -49,7 +49,8 @@ "in_list_view": 1, "label": "Company", "options": "Company", - "reqd": 1 + "reqd": 1, + "search_index": 1 }, { "fetch_from": "item_code.item_group", @@ -78,7 +79,8 @@ "in_standard_filter": 1, "label": "Item Code", "options": "Item", - "reqd": 1 + "reqd": 1, + "search_index": 1 }, { "fetch_from": "item_code.item_name", @@ -180,14 +182,16 @@ "in_standard_filter": 1, "label": "Warehouse", "mandatory_depends_on": "eval:doc.type_of_transaction != \"Maintenance\"", - "options": "Warehouse" + "options": "Warehouse", + "search_index": 1 }, { "fieldname": "type_of_transaction", "fieldtype": "Select", "label": "Type of Transaction", "options": "\nInward\nOutward\nMaintenance\nAsset Repair", - "reqd": 1 + "reqd": 1, + "search_index": 1 }, { "fieldname": "naming_series", @@ -244,7 +248,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-07-16 10:53:04.045605", + "modified": "2023-07-26 12:56:03.072224", "modified_by": "Administrator", "module": "Stock", "name": "Serial and Batch Bundle", diff --git a/erpnext/stock/doctype/stock_reconciliation_item/stock_reconciliation_item.json b/erpnext/stock/doctype/stock_reconciliation_item/stock_reconciliation_item.json index 62d6e4c8a2..ca19bbb96a 100644 --- a/erpnext/stock/doctype/stock_reconciliation_item/stock_reconciliation_item.json +++ b/erpnext/stock/doctype/stock_reconciliation_item/stock_reconciliation_item.json @@ -173,7 +173,8 @@ "fieldtype": "Link", "label": "Batch No", "options": "Batch", - "read_only": 1 + "read_only": 1, + "search_index": 1 }, { "default": "0", @@ -197,7 +198,8 @@ "label": "Serial / Batch Bundle", "no_copy": 1, "options": "Serial and Batch Bundle", - "print_hide": 1 + "print_hide": 1, + "search_index": 1 }, { "fieldname": "current_serial_and_batch_bundle", @@ -214,7 +216,7 @@ ], "istable": 1, "links": [], - "modified": "2023-06-15 11:45:55.808942", + "modified": "2023-07-26 12:54:34.011915", "modified_by": "Administrator", "module": "Stock", "name": "Stock Reconciliation Item",