Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
13949 Vistas

hi,

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

thanks

Avatar
Descartar
Mejor respuesta

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
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 24
1291
3
abr 23
17745
0
mar 15
4304
1
mar 15
6322
1
may 25
2422