Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2978 Tampilan

Hello,
I want to hide Menu items and views for employees has access to the model , so his functions dont restrict and the view dont appear for him
Thank you

Avatar
Buang
Jawaban Terbai

To hide a menu item and views from employees who have access to the model in Odoo, you can follow these steps:

Go to the Odoo interface and open the "Settings" menu.
Under the "Users & Companies" section, select "Access Rights".
Find the model that the employees have access to and select it.
Look for the employee group that you want to restrict and click on it to open the access rights.
Under the "Other" tab, you will find a field called "Groups". Here, you can uncheck the box next to the employee group that you want to restrict.
Once you have unchecked the box, the menu item and views related to that model will no longer be visible to the employees in that group.

Please note that this method will restrict access to the entire model, so the employees in the restricted group will not be able to access any of the views or actions related to that model. If you need to restrict access to specific views or actions within the model, you may need to use more advanced access control methods such as record rules or groups.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jan 17
2955
1
Jul 16
7535
3
Des 23
21261
2
Des 19
5589
1
Apr 19
4863