Merge pull request #54531 from frappe/mergify/bp/version-16-hotfix/pr-54530

fix(stock): show item code in serial and batch selector dialog (backport #54530)
This commit is contained in:
rohitwaghchaure
2026-04-26 10:25:51 +05:30
committed by GitHub
2 changed files with 11 additions and 2 deletions

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

View File

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