Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
14123 Vues

hi,

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

thanks

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
1
nov. 24
1419
3
avr. 23
17964
0
mars 15
4437
1
mars 15
6436
1
mai 25
2561