Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
14024 Visualizações

hi,

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

thanks

Avatar
Cancelar
Melhor resposta

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

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

Publicações relacionadas Respostas Visualizações Atividade
1
nov. 24
1352
3
abr. 23
17827
0
mar. 15
4354
1
mar. 15
6371
1
mai. 25
2478