fix: prevent rows from being added to sub_assembly_items and mr_items

(cherry picked from commit 25f979a825)

# Conflicts:
#	erpnext/manufacturing/doctype/production_plan/production_plan.js
This commit is contained in:
Shllokkk
2026-02-11 17:53:05 +05:30
committed by Mergify
parent e511503597
commit 973255d261

View File

@@ -16,6 +16,12 @@ frappe.ui.form.on("Production Plan", {
"Work Order": "Work Order / Subcontract PO",
"Material Request": "Material Request",
};
<<<<<<< HEAD
=======
frm.set_df_property("sub_assembly_items", "cannot_add_rows", true);
frm.set_df_property("mr_items", "cannot_add_rows", true);
>>>>>>> 25f979a825 (fix: prevent rows from being added to sub_assembly_items and mr_items)
},
setup_queries(frm) {