Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Jan. 24
1615
2
Okt. 23
1900
2
Juli 17
4013
1
Sept. 24
4931
0
Feb. 24
1338