My guess is without some (major?) redesign, the current data model will not logically support the ‘restricted field’ access behaviour that you require.
The ‘missing mandatory field’ messages you get (that relate to Customer and Sales Order) confirm the data model requires these fields to read/display or write/save their form data views.
Rather than introduce Client Code etc that uncovers the data model restrictions you are encountering, I suggest best to exploit the permission and hidden field options.
edit: there’s this access control https://erpnext.org/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.html
As well I urge you to search around to learn what others have done for eg How to hide fields from users! - #4 by ajit.jain1