mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
fix: do not allow to add rows manually
This commit is contained in:
@@ -2,6 +2,7 @@ frappe.ui.form.on("Sales Forecast", {
|
||||
refresh(frm) {
|
||||
frm.trigger("set_query_filters");
|
||||
frm.trigger("set_custom_buttons");
|
||||
frm.set_df_property("items", "cannot_add_rows", true);
|
||||
},
|
||||
|
||||
set_query_filters(frm) {
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"allow_bulk_edit": 1,
|
||||
"fieldname": "items",
|
||||
"fieldtype": "Table",
|
||||
"label": "Items",
|
||||
@@ -167,7 +166,7 @@
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2025-09-21 13:24:34.720794",
|
||||
"modified": "2025-11-13 16:33:49.682684",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Manufacturing",
|
||||
"name": "Sales Forecast",
|
||||
|
||||
Reference in New Issue
Block a user