Hello,
When I try to give portal access to an existing member on my Odoo (.sh) v14 website. I have the following issue after selecting the email contact.
However, I have no issue when I do it with a new contact...
Could you kindly please help me ?
Best regards.
Odoo Server Error
Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/home/odoo/src/odoo/odoo/http.py", line 683, in dispatch result = self._call_function(**self.params) File "/home/odoo/src/odoo/odoo/http.py", line 359, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/odoo/http.py", line 347, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 912, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 531, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1393, in call_button action = self._call_kw(model, method, args, kwargs) File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1381, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 396, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 383, in _call_kw_multi result = method(recs, *args, **kwargs) File "/home/odoo/src/odoo/addons/portal/wizard/portal_wizard.py", line 58, in action_apply self.user_ids.action_apply() File "/home/odoo/src/odoo/addons/portal/wizard/portal_wizard.py", line 144, in action_apply user_portal = wizard_user.sudo().with_company(company_id)._create_user() File "/home/odoo/src/odoo/addons/portal/wizard/portal_wizard.py", line 167, in _create_user return self.env['res.users'].with_context(no_reset_password=True)._create_user_from_template({ File "/home/odoo/src/odoo/addons/auth_signup/models/res_users.py", line 138, in _create_user_from_template raise ValueError(_('Signup: invalid template user')) Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/http.py", line 639, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/src/odoo/odoo/http.py", line 315, in _handle_exception raise exception.with_traceback(None) from new_cause ValueError: Inscription : Utilisateur de modèle non valide