I make field custom type binary (x_signature) to model res.users, and i try to add this custom field to view. When i implement this, when user click My Profile get Access Error. Its solved if i grant user access to Employees both administrator/officer. but i don't want it. i want still implement custom field on inherited view without give grant access Employees and not access error
Inherited view: res.users.preferences.form.inherit
<data>
<xpath expr="//field[@name='employee_type']" position="after">
<field name="x_signature" widget="image"/>
</xpath>
</data>
Access Error
Access Error
Close
The requested operation can not be completed due to security restrictions. Document type: User (res.users) Operation: read User: 14 Fields: - barcode (allowed for groups 'Employees / Officer: Manage all employees') - birthday (allowed for groups 'Employees / Officer: Manage all employees') - certificate (allowed for groups 'Employees / Officer: Manage all employees') - children (allowed for groups 'Employees / Officer: Manage all employees') - country_of_birth (allowed for groups 'Employees / Officer: Manage all employees') - emergency_contact (allowed for groups 'Employees / Officer: Manage all employees') - emergency_phone (allowed for groups 'Employees / Officer: Manage all employees') - employee_bank_account_id (allowed for groups 'Employees / Officer: Manage all employees')
... ...
...