Merge pull request #45595 from rohitwaghchaure/fixed-support-29212

fix: do not allow to manually submit the SABB
This commit is contained in:
rohitwaghchaure
2025-01-29 16:38:19 +05:30
committed by GitHub

View File

@@ -6,6 +6,10 @@ frappe.ui.form.on("Serial and Batch Bundle", {
frm.trigger("set_queries");
},
before_submit(frm) {
frappe.throw(__("User cannot submitted the Serial and Batch Bundle manually"));
},
refresh(frm) {
frm.trigger("toggle_fields");
frm.trigger("prepare_serial_batch_prompt");