Hello
I am in a the middle of confusion here. I am trying to prevent let's say user1 from creating a new product/ partner
I want to hide the links for this option when the user wants to input a product/partner name in the sales application
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello
I am in a the middle of confusion here. I am trying to prevent let's say user1 from creating a new product/ partner
I want to hide the links for this option when the user wants to input a product/partner name in the sales application
Hi,
yes its possible to remove create and edit option from the Many2one fields, you can set it like this,
<field name="user_id" options="{'no_create': True, 'no_edit': True}"/>
This will remove create edit option from M2O fields.
Same can be achieved from the odoo studio also if you are using enterprise.
See :- How to Remove Create and Edit Option From Many2one Field Odoo
Thanks
Hi,
If you are trying to prevent the user from creating a product/partner you can do it from the UI itself. For that go to settings->Users& Companies -> Users
Here you can see the users which created or already exist. And then select the respective user to whom you need to prevent the create access and then choose the corresponding access right and then disable the field 'Create Access' if the access right is already given otherwise you can create new access right for the user for that go to
Settings->Technical->Access Rights and create a new access right. For more clarification, you could refer to
https://www.cybrosys.com/blog/manage-the-users-and-access-right-in-odoo-14
Regards
Did you try user access rights?
If No, go to users & companies and modify the user access rights.
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
1
9月 20
|
5147 | ||
|
1
9月 16
|
4220 | ||
|
2
2月 21
|
7530 | ||
|
1
6月 20
|
11340 | ||
|
0
7月 19
|
2608 |