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:
rohitwaghchaure
2026-02-17 00:11:31 +05:30
committed by GitHub

View File

@@ -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) {