Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1449 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 23
17997
How to add an user to a group แก้ไขแล้ว
1
ธ.ค. 22
14151
How to create Groups? แก้ไขแล้ว
1
มี.ค. 15
6454
0
มี.ค. 15
4479
1
พ.ค. 25
2610