fix(stock): show item code in serial and batch selector dialog

(cherry picked from commit f572bc51e1)
This commit is contained in:
Sudharsanan11
2026-04-26 00:01:09 +05:30
committed by Mergify
parent 8de9ac4e34
commit 85d1eb8379

View File

@@ -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",