mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 03:15:07 +00:00
fix: rejected serial no field showing even if serial / batch feature not enabled
(cherry picked from commit c2f419ac3d)
This commit is contained in:
committed by
Mergify
parent
924983794b
commit
2c81f79df7
@@ -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