Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
14142 มุมมอง

hi,

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

thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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>
อวตาร
ละทิ้ง
ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 24
1436
3
เม.ย. 23
17978
0
มี.ค. 15
4467
How to create Groups? แก้ไขแล้ว
1
มี.ค. 15
6449
1
พ.ค. 25
2598