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

I am using odoo17 and looking the cookbook, the code below is what on the book.                                      

But I found that every time I set the user with Library User, it always gets the 'The user cannot have more than one user types.'

How can I prevent that ever happen?Thanks.

아바타
취소
베스트 답변

Hello Mr. Enish

Odoo has 3 main types: public, portal, Internal User as you can see in the image below




This problem happens when you try to assign two different  types to the same user

The problem is probably because the group Library User assigns the user one or two of the main types


Check the security file the line that has

to check if it assigns different types to the group

아바타
취소
작성자

Sorry about the content of post, I did not notice the code was forbidden. Please check the screenshot of the code again, sorry again. Thank you.

관련 게시물 답글 화면 활동
3
4월 23
18088
1
12월 22
14222
1
3월 15
6571
0
3월 15
4541
1
5월 25
2706