Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
14480 Tampilan

hi,

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

thanks

Avatar
Buang
Jawaban Terbai

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>
Avatar
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
1
Nov 24
1745
3
Apr 23
18413
0
Mar 15
4783
1
Mar 15
6791
1
Mei 25
2903