Skip to Content
Menu
This question has been flagged

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. 

Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jan 24
1616
2
okt 23
1901
2
júl 17
4014
1
sep 24
4934
0
feb 24
1338