Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
14102 Widoki

hi,

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

thanks

Awatar
Odrzuć
Najlepsza odpowiedź

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>
Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
lis 24
1408
3
kwi 23
17938
0
mar 15
4429
1
mar 15
6425
1
maj 25
2546