Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2953 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 18
2704
0
feb 18
3620
1
set 15
3638
18
set 15
8839
1
set 15
3303