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

hi,

everything is in the title , how to make an user member of a group ?

thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You have to give reference ID of user created in xml file.

You can add user in group like this:

<record id="group_account_invoice" model="res.groups">
    <field name="name">Invoicing &amp; Payments</field>
    <field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
Ảnh đại diện
Huỷ bỏ
Tác giả

it's ok , i have sorted it out by now , i was just too lazy to click on group -> edit -> add :(

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
1288
3
thg 4 23
17744
0
thg 3 15
4303
1
thg 3 15
6319
1
thg 5 25
2420