mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 10:08:30 +00:00
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:
@@ -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",
|
||||
|
||||
@@ -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"]},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user