mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
feat: option to enable serial / batch features
(cherry picked from commit 82c3da5b1e)
# Conflicts:
# erpnext/patches.txt
This commit is contained in:
committed by
Mergify
parent
83f2fadbcf
commit
93a597410e
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user