콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
14169 화면

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
1472
3
4월 23
18025
0
3월 15
4502
1
3월 15
6484
1
5월 25
2632