Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8987 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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)

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 19
20803
2
thg 8 18
4310
2
thg 5 17
5592
5
thg 2 17
10880
2
thg 3 16
4326