Skip to content

Commit 85d1eb8

Browse files
Sudharsanan11mergify[bot]
authored andcommitted
fix(stock): show item code in serial and batch selector dialog
(cherry picked from commit f572bc5)
1 parent 8de9ac4 commit 85d1eb8

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

erpnext/public/js/utils/serial_no_batch_selector.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,16 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate {
8787
}
8888

8989
get_dialog_fields() {
90-
let fields = [];
90+
let fields = [
91+
{
92+
fieldname: "item_code",
93+
read_only: 1,
94+
fieldtype: "Link",
95+
options: "Item",
96+
label: __("Item Code"),
97+
default: this.item.item_code,
98+
},
99+
];
91100

92101
fields.push({
93102
fieldtype: "Link",

0 commit comments

Comments
 (0)