Is there any option in odoo to block users to create and update product details based on their role or permission.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is there any option in odoo to block users to create and update product details based on their role or permission.
You can restrict any user from creating a new product by following these steps:
- Go to:
Settings > in "Users" Select "Manage Users"
Select the user which you need to restrict him from creating a new product.
Select "Edit" then in "Inventory" Select "User" ((Do Not Select Administrator)) then click save.
..
Settings > User & Companies > Select "Groups"
Search for "Inventory / User" then Select it
Select "Access Rights" then Select "Edit"
In the table, you will see "product.template stock user" ..
Tick inside "Create Access" to allow users to create a new product or untick to restrict the user from creating a new product.
Regards,
Yousif Al Qallaf
Tried the above but to no avail.
User is set as user, box is unticked.
Still user can create products.
Hi Guy, had a similar issue as you but discovered if you do the above steps, AND also untick "Create Access" for "stock.inventory user", the Create button is removed.
Hope this helps!
Hi,
there is a module for that: https://apps.odoo.com/apps/modules/11.0/product_access_restriction/
You can control the Access Rights for any models in odoo. In this case, you are wanting to edit the product.product (and possibly product.template) access rights. Make sure you have technical features enabled for the user you are logged into.
1. Go to Settings > Technical > Database Structure > Models
2. Search for the model you want to change (product.product).
3. Select the product and go to Edit. Select the second tab that reads "Access Rights".
4. Select the Read, Write, Create and Delete permissions you want each group to have. (You can control groups and membership of groups under the "Users" section of the same Settings tab.
These permissions are typical CRUD rights common to most databases. You can learn more here: http://en.wikipedia.org/wiki/Create,_read,_update_and_delete.
I should add that, in my experience, you may find out after adjusting permissions that your users need access rights to unexpected models to accomplish your goals. Odoo error reporting does a good job of throwing errors in a popup with the model listed so you know to change it.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Dec 24
|
1335 | ||
|
0
Nov 24
|
503 | ||
|
1
Aug 24
|
803 | ||
|
3
Apr 24
|
2094 | ||
|
1
May 24
|
4696 |