Skip to Content
Menu
This question has been flagged
2 Replies
1271 Zobrazenia

Hello Community,

Is it possible to for a specific field to be accessed only by a specific user. For example, let's say I have credit_info field. I want this to be accessed only by Billing role in Accounting, but the issue is that other roles like Bookkeeper can also accessed the credit_info field even though I've set it only to Billing role.

The issue is due to Bookkeeper role inheriting the Billing, and I want to resolve it without removing the inheritance of Billing from Bookkeeper. 

Thank you in advance

Avatar
Zrušiť
Best Answer

Hi,

To achieve the functionality you can add the specific user group to the field

eg:

<field name="credit_info" groups="module.user_group/>


please refer  the below blog to know about security groups

Security Groups & Access Rights in Odoo


Hope it helps

Avatar
Zrušiť
Best Answer

As no-one else has responded, here are some thoughts that might help.

You would have to create a new user access group that is NOT part of the Accounting application. The simplest way is to make it part of the technical access group. 

It will not appear in the UI so you'd have to manually add users from the group:

 

Then you could limit access based on this new Access Group.

If you are planning on using Odoo Studio to limit access to the field in the Form View , you should upload the new group and give it an External ID (creating it through the UI doesn't do that).


Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
aug 24
3314
1
nov 23
1682
1
dec 24
3990
0
jan 24
2058
3
nov 23
13531