Skip to Content
Menu
This question has been flagged
2 Replies
8990 Rodiniai

I need how to hide a message menu for users, there is anyway for that please help me.

Portretas
Atmesti

what do u mean by hide a message menu for users , u mean to disable the openerp chatter ?

Autorius

If one user login means sales, purchase, Hr module only needed, user not needed to messaging menu i want hide please help me...

Best Answer

I've seen several posts asking this question and I finally found an easy solution. Messaging comes from the default group Human Resources/Employee so either remove the user from that group or duplicate that group and make an 'Employee-NoMessaging' group if you are using HR for something, removing the messaging menu.

This new support forum sucks, by the way

Portretas
Atmesti

Actually, just found a better solution here - http://help.openerp.com/question/953/how-to-disable-menus-for-specific-users/

Best Answer

Hi,

<record id="mail.mail_feeds_main" model="ir.ui.menu">
    <field name="groups_id" eval="[(3, ref('base.group_user'))]"/>
</record>

Above code will remove USER group from "Messaging" menu and you can put another group

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

Portretas
Atmesti
Autorius

Thanks for reply... where i remove this code... example addons--> which folder please tell them...

You can put in any XML file (create new or put in existing addons xml)

Autorius

I asking where i paste this xml. Please specify the path.

Related Posts Replies Rodiniai Veikla
1
gruod. 19
20804
2
rugp. 18
4312
2
geg. 17
5592
5
vas. 17
10880
2
kov. 16
4326