fix: make fields table unrequired

This commit is contained in:
Shariq Ansari 2023-07-10 14:02:58 +05:30
parent 053a5f0397
commit c8d19d82e1

View file

@ -134,8 +134,6 @@ frappe.model.DocTypeController = class DocTypeController extends frappe.ui.form.
setTimeout(() => (this.frm.__from_autoname = false), 500);
}
this.frm.set_df_property("fields", "reqd", this.frm.doc.autoname !== "Prompt");
}
setup_fetch_from_fields(doc, doctype, docname) {