I Cant Set the Naming on Field when Create New Doctype in erpnext (nightly)

I created a new doctype and the title show random numbers and letters like this [ex:20tg1s541g5d]

I tried to change the naming with the field name

I get this error
[Invalid fieldname ‘lab_test_code’ in autoname]

image

1 Like

Hi,
Add naming series from doctype:
image

by any chance, you did the creation of a new field + setting autoname in one go?

I’ve noticed this fail before… maybe do those changes it one at a time.

2 Likes