Skip to Content
Menu
This question has been flagged
2 Replies
2399 Views

I want to give an employee the ability to view inventory only. Employees can't see contacts, costs... How to set permissions?

Avatar
Discard
Best Answer

Hi,

To grand new permission or to change existing permission just activate the developer mode and navigate to settings-> technical -> security -> record rules/ acess control list, from here you can add rules for each model.


Suppose if you want the employee group of users want to see stock. Picking create a new rule, select the model stock picking and in groups select employee and give permission such as create,read, write etc as per required.


Also see this Odoo documentation for better understanding of security mechanism in Odoo: https://www.odoo.com/documentation/10.0/reference/security.html

Thanks

Avatar
Discard
Best Answer

You want to set security for each field, you can use the way to create a group of rights for employees, then set the id of that group to <field name = "name_field" group = "name_model.id_group"

You can refer to "https://www.youtube.com/watch?v=NoLy92iWCXU&list=PLYaNfSJ8EtN1r2QooL9azU-w7XJd37rhN&index=42" hope this helps you

Avatar
Discard