I know by using
attribute tag we can hide the field in the form
<attribute name="invisible">1<attribute/>
and giving the security groups for the record we can achieve it, like
<field name="groups" eval="[(4,ref('base.group_user'))]"/>
is there any other way to hide the field ?