Merge pull request #52705 from frappe/mergify/bp/version-16-hotfix/pr-52620

fix: prevent rows from being added to sub_assembly_items and mr_items (backport #52620)
This commit is contained in:
rohitwaghchaure
2026-02-17 10:16:09 +05:30
committed by GitHub

View File

@@ -24,8 +24,8 @@ frappe.ui.form.on("Production Plan", {
"Material Request": "Material Request", "Material Request": "Material Request",
}; };
frm.set_df_property("sub_assembly_items", "cannot_delete_rows", true); frm.set_df_property("sub_assembly_items", "cannot_add_rows", true);
frm.set_df_property("mr_items", "cannot_delete_rows", true); frm.set_df_property("mr_items", "cannot_add_rows", true);
}, },
setup_queries(frm) { setup_queries(frm) {