mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-08 04:53:26 +00:00
fix: prevent rows from being added to sub_assembly_items and mr_items
(cherry picked from commit 25f979a825)
This commit is contained in:
@@ -24,8 +24,8 @@ frappe.ui.form.on("Production Plan", {
|
||||
"Material Request": "Material Request",
|
||||
};
|
||||
|
||||
frm.set_df_property("sub_assembly_items", "cannot_delete_rows", true);
|
||||
frm.set_df_property("mr_items", "cannot_delete_rows", true);
|
||||
frm.set_df_property("sub_assembly_items", "cannot_add_rows", true);
|
||||
frm.set_df_property("mr_items", "cannot_add_rows", true);
|
||||
},
|
||||
|
||||
setup_queries(frm) {
|
||||
|
||||
Reference in New Issue
Block a user