Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to hide some res.partner address fields on the website from public visitors. I used a CSV file with READ permissions on res.partner to do this but it isn't working
I have address fields on my website and I can't show them to public visitors. I have written following line to security CSV file -
The module is upgrading but page not showing for public visitors.
I tried to override the existing access right
But I could not find it.
Then I directly changed under the settings menu
Activate developer mode
Settings -> Technical -> Database Structure -> model -> res.partner -> Access rights
Odoo provides 3 kinds/levels of Security access to control the data.
Object Access Control
To Control displaying of records/data, you need to use Security Record Rules.
Similarly to control couple of fields on the view, you need to use Groups to define Field Access in the XML Views.
Permissions which are defined in the CSV, will merely act as Object Permission and certainly not on the data/record present in the object.
For more details Refer this Odoo Security
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/15/16, 11:29 AM|
|Seen: 514 times|
|Last updated: 11/17/16, 9:41 PM|