feat: option to enable serial / batch features

(cherry picked from commit 82c3da5b1e)

# Conflicts:
#	erpnext/patches.txt
This commit is contained in:
Rohit Waghchaure
2026-02-09 14:51:20 +05:30
committed by Mergify
parent 83f2fadbcf
commit 93a597410e
16 changed files with 165 additions and 10 deletions

View File

@@ -30,6 +30,7 @@ frappe.ui.form.on("Subcontracting Receipt", {
refresh: (frm) => {
frappe.dynamic_link = { doc: frm.doc, fieldname: "supplier", doctype: "Supplier" };
erpnext.toggle_serial_batch_fields(frm);
if (frm.doc.docstatus === 1) {
frm.add_custom_button(
__("Stock Ledger"),