تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2947 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 18
2696
0
فبراير 18
3615
1
سبتمبر 15
3630
18
سبتمبر 15
8821
1
سبتمبر 15
3290