fix(naming): Do not check naming for customize form

This commit is contained in:
Rushabh Mehta 2024-08-14 16:32:11 +05:30
parent fd93110b9a
commit 07364d29e2

View file

@ -1095,6 +1095,9 @@ def validate_series(dt, autoname=None, name=None):
def validate_empty_name(dt, autoname):
if dt.doctype == "Customize Form":
return
if not autoname and not (dt.issingle or dt.istable):
frappe.msgprint(_("Warning: Naming is not set"), indicator="yellow")