Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
14164 Zobrazení

hi,

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

thanks

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
1
lis 24
1471
3
dub 23
18013
0
bře 15
4499
1
bře 15
6475
1
kvě 25
2628