Skip to Content
Menu
This question has been flagged
2 Replies
2808 Views

I had this error when tried to grant access to a client, from the crm.

Odoo v12

CentOS 7


any guidance?

Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo12/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo12/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo12/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo/odoo12/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo12/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo12/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo12/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo12/odoo/http.py", line 941, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo12/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo12/addons/web/controllers/main.py", line 966, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo12/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo12/odoo/api.py", line 749, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo12/odoo/api.py", line 736, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo12/addons/portal/wizard/portal_wizard.py", line 59, in action_apply
self.user_ids.action_apply()
File "/opt/odoo/odoo12/addons/portal/wizard/portal_wizard.py", line 138, in action_apply
user_portal = wizard_user.sudo().with_context(company_id=company_id)._create_user()
File "/opt/odoo/odoo12/addons/portal/wizard/portal_wizard.py", line 163, in _create_user
return self.env['res.users'].with_context(no_reset_password=True)._create_user_from_template({
AttributeError: 'res.users' object has no attribute '_create_user_from_template'

Avatar
Discard
Best Answer

Make sure that the auth_signup is installed.

Avatar
Discard
Author Best Answer

thank you. !

it wasn't installed. (auth_signup)

solved.

Avatar
Discard

Please flag my answer so others will get benefit and me get some points.

Author

not really shure how to do that, I have no Karma.

In my answer add positive vote

Author

I really tried, but keeps asking me for karma:

5 karma is required to perform this action. You can earn karma by having your answers upvoted by the community. sorry