Skip to Content
Menu
This question has been flagged
3 Replies
4551 Views

User has not create rights for product category. I have created many2many field with product category object, which is used in my custom report wizard. User having no create rights of product category is not able to select the categories due to invisibility of "Add a line" button. Can anyone help with this how to sort it out,

any help will be appreciated.

Avatar
Discard
Best Answer

The button 'add a line' opens a window where user might use the button 'Create'. That's why it is not shown for users without rights.

You should use another widget which let just select a new item. For example, many2many_tags. An example:

<field name='YOURFIELD' widget='many2many_tags'/>
Avatar
Discard
Author

I don't want to use another widget. And in the case of 'Create' button,it will be disable if user has no rights.

Best Answer

@Nehal can you find any solution to your issue. if yes can you please share with me. I am trying  to achieve same thing.

Avatar
Discard
Related Posts Replies Views Activity
1
Feb 24
836
0
Jul 24
1501
0
Jul 22
60
1
Jul 22
1406
2
Dec 23
31968