Immutable Doctype

How to make an Immutable doctype where all the fields are read-only, the same as the GL Entry doctype in ERPNext?

I think by not giving anyone write/create permissions, the doctype documents becomes immutable.

See Permission Rules in the GL Entry DocType:

1 Like

Also
check the box of User Cannot Create.

another option.
you can we form readonly from javascript on refresh or onload.

2 Likes