跳至内容
菜单
此问题已终结
1 回复
14115 查看

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 :(

相关帖文 回复 查看 活动
1
11月 24
1415
3
4月 23
17953
0
3月 15
4433
1
3月 15
6432
1
5月 25
2558