Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
14107 Visualizzazioni

hi,

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

thanks

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
nov 24
1410
3
apr 23
17942
0
mar 15
4432
1
mar 15
6425
1
mag 25
2551