mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 13:57:19 +00:00
Merge pull request #52620 from Shllokkk/production-plan-fix
fix: prevent rows from being added to sub_assembly_items and mr_items
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