From 85d1eb8379813d2bcdf33a7fdb95d6198209b5fa 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 (cherry picked from commit f572bc51e185147b9de356d787d8c69d5f49f6a0) --- 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 0d262020007..6d08648c6e0 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 62bbe28a728a5cad956c752b72cdc2363464d4c3 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 (cherry picked from commit fee5bcadb217107dfd45b3c9ddc8304398ea4806) --- 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"]}, ], }