fix: do not allow to manually submit the SABB
(cherry picked from commit 2b16eb5381)
This commit is contained in:
committed by
Mergify
parent
409e512d47
commit
d042c841e4
@@ -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