跳至內容
選單
此問題已被標幟
2 回覆
8996 瀏覽次數

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

頭像
捨棄

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

作者

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

最佳答案

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

頭像
捨棄

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

最佳答案

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

頭像
捨棄
作者

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)

作者

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

相關帖文 回覆 瀏覽次數 活動
1
12月 19
20804
2
8月 18
4314
2
5月 17
5596
5
2月 17
10884
2
3月 16
4326