Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1436 Weergaven

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.

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
3
apr. 23
17980
1
dec. 22
14143
1
mrt. 15
6451
0
mrt. 15
4467
1
mei 25
2600