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", 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"]}, ], }