I cannot do most of the things even the main functions like adding a new user because of server error. Below is an example of the error, this occurs when I try to manually add a new user.
I basically have errors in most of the things I do, even when installing official modules. This is a new installation of Odoo 15 which runs in a docker container.
I dont want to wipe and install it again as that is exactly what I did before.
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 688, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 360, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 349, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 917, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 536, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1348, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1340, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 462, in call_kw
result = _call_kw_model_create(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 442, in _call_kw_model_create
result = method(recs, *args, **kwargs)
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 412, in _model_create_multi
return create(self, [arg])
File "/usr/lib/python3/dist-packages/odoo/addons/digest/models/res_users.py", line 12, in create
users = super(ResUsers, self).create(vals_list)
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 243, in create
users_with_email.with_context(create_user=True).action_reset_password()
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 202, in action_reset_password
template.send_mail(user.id, force_send=force_send, raise_exception=True, email_values=email_values)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 274, in send_mail
values = self.generate_email(res_id, ['subject', 'body_html', 'email_from', 'email_to', 'partner_to', 'email_cc', 'reply_to', 'scheduled_date'])
File "/usr/lib/python3/dist-packages/odoo/addons/account_edi/models/mail_template.py", line 21, in generate_email
res = super().generate_email(res_ids, fields)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 193, in generate_email
generated_field_values = template._render_field(
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_render_mixin.py", line 550, in _render_field
return dict(
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_render_mixin.py", line 553, in
for res_id, rendered in template._render_template(
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 644, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 302, in _handle_exception
raise exception.with_traceback(None) from new_cause
TypeError: _render_template() got an unexpected keyword argument 'options'