Restrict access of many2one widget from a specific user

Asked by Joel Cabral

How will I be able to restrict access of a specific user. For example I want to restrict the access of a user in product category in products. How can I disable the icons in many2one widget for a specific user?

Thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello,

It is possible to restrict access of many2one widget from a specific user, by adding group. you need to create one group for the particular field many2one which you want to restrict.

Hope this will help you.

Thanks.

Revision history for this message
Joel Cabral (hephaestus) said :
#2

Would this enable the "edit entry" icon of the many2one widget?

Revision history for this message
Joel Cabral (hephaestus) said :
#3

Disable rather. Sorry

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#4

Hello,

If You want to enable the "edit entry" icon of the many2one field you need to give full "write" access rights by going to edit the specific group which you did assign to other user.By following menu :
Administration/Users/Groups

Open the group in form view and there is one tab :"Access Rights" contain one2many field regarding access rights.

Hope This will Help You.

Thanks.

Revision history for this message
Urtzi Odriozola (urtzi-odriozola) said :
#5

Hi,

Same problem here. When I create a group with a specific Rules, only from the menu are applied... When I try to open the same object using the many2one widget, it shows me all the object instances without filtering...

How can I filter many2one widgets using group rules?

Thanks in advance.

Revision history for this message
Urtzi Odriozola (urtzi-odriozola) said :
#6

Hi,

Sorry... problem solved. I had have a mess with permissions... Everything works fine.

Thank you!

Can you help with this problem?

Provide an answer of your own, or ask Joel Cabral for more information if necessary.

To post a message you must log in.