Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1979 Zobrazení

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šit
Nejlepší odpověď

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šit
Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
srp 24
4053
1
lis 23
2158
1
pro 24
4766
0
led 24
2360
3
lis 23
14292