コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1453 ビュー

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
17998
1
12月 22
14155
1
3月 15
6457
0
3月 15
4479
1
5月 25
2613