We’re trying to set a custom naming series pattern for the Serial No DocType using the new dynamic date function as documented:
MOD-.{date:YYMMDD}.#####
Our goal is to generate serial numbers like:
MOD-250620-00001
However, the system either:
-
Saves the literal {date:YYMMDD} as part of the name, or
-
Throws an “Invalid naming series” error.
We’re running:
-
ERPNext v15.63.0
-
Frappe v15.69.2
Has anyone successfully used {date} substitution in naming series in ERPNext 15? Is there a different syntax or hidden requirement to make it work?