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

Hello Community


I have a multi company, multi website setup. If a new portal user registers himself over the website I'm facing the problem that he always only has access to the Website he registered on. Even if I change the default user template for a new portal user nothing changes in the new users. 


Is it possible to automatically grant access to 2 companies on register? Thank you for your help. 

アバター
破棄
最善の回答

Hi,


By default, when a new portal user registers on a website in a multi-company setup, Odoo only assigns them to the website’s company. If you want them to have access to two companies automatically, you need customization: either create an automated server action on res.users to add the second company when the user is created, or build a small custom module that overrides the signup process. Out of the box, Odoo won’t grant access to multiple companies on registration.


References:

* https://www.odoo.com/documentation/16.0/applications/websites/website/configuration/multi_website.html

* https://www.odoo.com/sl_SI/forum/pomoc-1/multi-company-multi-website-multiple-portal-accounts-246573

* https://www.odoo.com/sl_SI/forum/pomoc-1/odoo-13-how-to-ensure-that-portal-user-is-redirected-to-the-correct-website-in-a-multi-website-environment-171402


Hope it helps

アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 24
1615
2
10月 23
1899
2
7月 17
4013
1
9月 24
4929
0
2月 24
1338