Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
14091 Представления

hi,

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

thanks

Аватар
Отменить
Лучший ответ

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>
Аватар
Отменить
Автор

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

Related Posts Ответы Просмотры Активность
1
нояб. 24
1397
3
апр. 23
17916
0
мар. 15
4420
1
мар. 15
6416
1
мая 25
2533