How to make an Immutable doctype where all the fields are read-only, the same as the GL Entry doctype in ERPNext?
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:
Also
check the box of User Cannot Create.
another option.
you can we form readonly from javascript on refresh or onload.