Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2938 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
abr. 18
2696
0
fev. 18
3609
1
set. 15
3620
18
set. 15
8818
1
set. 15
3285