Make Read Only After Saving

Make Read Only After Saving

To modify the field's display, use the cur frm.set df property method.

The _islocal attribute of the DocType is also used in this script to determine whether the document has been saved at least once or never. The document has never been saved if _islocal is set to 1.