Odoo Help

0
2 Answers
0
Sohel Rana
1/18/19, 10:56 AM

I set model access like access_academy_teachers,access_academy_teachers,model_academy_teachers,,1,0,0,0.

so every online customer can see from my website with or without login in font page. But If I remove my model  read access from portal customer they can't see my data in font page. But if I set read access for the model to portal customer they can see my model in admin panel. 

So I just want that portal customer can see date in website but not in admin page.




0

Hello,

You can restrict users by creating access right rules for your model.

https://www.odoo.com/documentation/12.0/reference/security.html

Create 1 group and give access rights to the group, you can give read, write, create and delete permission to the user group.

To create access right create file named ir.model.access.csv and give access right to users.

You can get access right example from addons modules.



Ask a Question
Writer
Keep Informed
1 follower(s)
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