mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
Merge pull request #53954 from frappe/mergify/bp/version-16-hotfix/pr-53953
fix: rejected serial no field showing even if serial / batch feature disabled (backport #53953)
This commit is contained in:
@@ -44,7 +44,11 @@ $.extend(erpnext, {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (["Purchase Receipt", "Purchase Invoice", "Subcontracting Receipt"].includes(frm.doc.doctype)) {
|
if (["Purchase Receipt", "Purchase Invoice", "Subcontracting Receipt"].includes(frm.doc.doctype)) {
|
||||||
fields.push("add_serial_batch_for_rejected_qty", "rejected_serial_and_batch_bundle");
|
fields.push(
|
||||||
|
"add_serial_batch_for_rejected_qty",
|
||||||
|
"rejected_serial_and_batch_bundle",
|
||||||
|
"rejected_serial_no"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let child_name = "items";
|
let child_name = "items";
|
||||||
|
|||||||
Reference in New Issue
Block a user