fix(naming): Do not check naming for customize form
This commit is contained in:
parent
fd93110b9a
commit
07364d29e2
1 changed files with 3 additions and 0 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue