Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3047 Prikazi

Hi,

    In one of custom module i created some new Reports and screens but those reports and screens are showing only in Super Administrator login,Now  i want to display those reports to every user, to achive this what i need to do ?


Thankyou

Avatar
Opusti
Best Answer

Hi,

To make the whole menus and models visible for all users what you have to do is that , on creating new menu add a attribute groups along with it, like this,

<menuitem name="Contacts" id="menu_email_mass_mailing_contacts"    parent="mass_mailing_menu"
sequence="4" groups="base.group_user" action="action_view_mass_mailing_contacts"/>

Give the groups as , groups="base.group_user" , so that the menu will be visible for all the users.

Like this do for all the newly created menus. Next we have to give to access rights to models, other wise it willl show some security warning.

Create a file named ir.model.access.csv inside that write the security ,

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_test_name,give_a_name,model_test_model_name,base.group_user,1,1,1,1

Write for all the model you have newly created.

The same can be done from the user interface also, activate the developer mode and check the settings section.

Thanks

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 18
2835
0
feb. 18
3789
1
sep. 15
3836
18
sep. 15
8982
1
sep. 15
3448