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:
rohitwaghchaure
2026-03-31 16:20:56 +05:30
committed by GitHub

View File

@@ -44,7 +44,11 @@ $.extend(erpnext, {
}
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";