mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-14 02:04:17 +00:00
Merge pull request #45595 from rohitwaghchaure/fixed-support-29212
fix: do not allow to manually submit the SABB
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user