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 & 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 :(
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
нояб. 24
|
3562 | |||
|
3
апр. 23
|
21119 | |||
|
0
мар. 15
|
6846 | |||
|
How to create Groups?
Решено
|
1
мар. 15
|
8823 | ||
|
1
мая 25
|
4610 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.