mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
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:
@@ -16,6 +16,12 @@ frappe.ui.form.on("Production Plan", {
|
|||||||
"Work Order": "Work Order / Subcontract PO",
|
"Work Order": "Work Order / Subcontract PO",
|
||||||
"Material Request": "Material Request",
|
"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) {
|
setup_queries(frm) {
|
||||||
|
|||||||
Reference in New Issue
Block a user