İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2936 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 18
2695
0
Şub 18
3605
1
Eyl 15
3616
18
Eyl 15
8817
1
Eyl 15
3282