I want to make a doctype Readonly after the completing the ist state in the workflow
i want to know how to make a doctype readonly using clientscript
Hi @amal_31845,
Without a client script, It’s possible.
Please set the eval condition in the ‘Read Only Depends On (JS)’
Alternatively, just set Allow Edit For
to Administrator in your Workflow state.
If your doctype is submittable, you can alternatively set the docstatus = 1 for that state.
1 Like