Skip to Content
मेन्यू
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
Discard
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
Discard
Related Posts Replies Views Activity
1
जन॰ 24
1617
2
अक्तू॰ 23
1901
2
जुल॰ 17
4014
1
सित॰ 24
4936
0
फ़र॰ 24
1338