From f572bc51e185147b9de356d787d8c69d5f49f6a0 Mon Sep 17 00:00:00 2001 From: Sudharsanan11 Date: Sun, 26 Apr 2026 00:01:09 +0530 Subject: [PATCH 1/2] fix(stock): show item code in serial and batch selector dialog --- erpnext/public/js/utils/serial_no_batch_selector.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js index 4a3f90ad9b4..3e9529d9e2a 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -87,7 +87,16 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate { } get_dialog_fields() { - let fields = []; + let fields = [ + { + fieldname: "item_code", + read_only: 1, + fieldtype: "Link", + options: "Item", + label: __("Item Code"), + default: this.item.item_code, + }, + ]; fields.push({ fieldtype: "Link", From fee5bcadb217107dfd45b3c9ddc8304398ea4806 Mon Sep 17 00:00:00 2001 From: Sudharsanan11 Date: Sun, 26 Apr 2026 00:02:10 +0530 Subject: [PATCH 2/2] fix(stock): add stock entry in batch master connection --- erpnext/stock/doctype/batch/batch_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/batch/batch_dashboard.py b/erpnext/stock/doctype/batch/batch_dashboard.py index a222c422177..db739e54126 100644 --- a/erpnext/stock/doctype/batch/batch_dashboard.py +++ b/erpnext/stock/doctype/batch/batch_dashboard.py @@ -7,7 +7,7 @@ def get_data(): "transactions": [ {"label": _("Buy"), "items": ["Purchase Invoice", "Purchase Receipt"]}, {"label": _("Sell"), "items": ["Sales Invoice", "Delivery Note"]}, - {"label": _("Move"), "items": ["Serial and Batch Bundle"]}, + {"label": _("Move"), "items": ["Stock Entry", "Serial and Batch Bundle"]}, {"label": _("Quality"), "items": ["Quality Inspection"]}, ], }