Select Only Once for custom field, how?


I added custom field to Vehicle doctype and I need to enable (select) Set Only Once for this field, but I can not do this from customization form or from the custom field, I did not find this property. How I can enable it for custom field?

If I add this field in the doctype, then it will be removed when doing upgrade and this will cause to remove the data from the database for this field.

I am also thinking to add it via json file, but again I am afraid it will be removed when doing update.

Any help please?


Its right there in Permission’s Section.

1 Like

We are talking about customize form and not about doctype. What you displayed is mentioned at doctype.


You need to be in developer mode for doing so if you are changing in core doctype’s fields