mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 20:48:27 +00:00
fix(stock): show item code in serial and batch selector dialog
(cherry picked from commit f572bc51e1)
This commit is contained in:
@@ -87,7 +87,16 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_dialog_fields() {
|
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({
|
fields.push({
|
||||||
fieldtype: "Link",
|
fieldtype: "Link",
|
||||||
|
|||||||
Reference in New Issue
Block a user