Remove delete permission for child entries

Hello All,

I would like to remove the permission to delete only the child entries of a child doctype, however i would like to still want the user to update the child entries just that they are not allowed to delete. so can you guys say if it is there any way to avoid deleting the child entries ??


If you check “Read Only” property for table fieldname in the parent doctype. Then system will not allow to add / delete any row in that table.


Can i add functionality, to do not allow user to delete any doctype records after it’s status change to something ?