mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 11:44:11 +00:00
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");
|
frm.trigger("set_queries");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
before_submit(frm) {
|
||||||
|
frappe.throw(__("User cannot submitted the Serial and Batch Bundle manually"));
|
||||||
|
},
|
||||||
|
|
||||||
refresh(frm) {
|
refresh(frm) {
|
||||||
frm.trigger("toggle_fields");
|
frm.trigger("toggle_fields");
|
||||||
frm.trigger("prepare_serial_batch_prompt");
|
frm.trigger("prepare_serial_batch_prompt");
|
||||||
|
|||||||
Reference in New Issue
Block a user