Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2104 Visualizzazioni

Hello, I have SMTP setup and confirmed the connection test works. When i try to send emails like password reset or invite new user to the platform i am receiving the following error message and it wont send my emails. Please assist. 


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/opt/odoo17/odoo17/odoo/http.py", line 1765, in _serve_db

    return service_model.retrying(self._serve_ir_http, self.env)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/odoo/service/model.py", line 133, in retrying

    result = func()

             ^^^^^^

  File "/opt/odoo17/odoo17/odoo/http.py", line 1792, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/odoo/http.py", line 1996, in dispatch

    result = self.request.registry['ir.http']._dispatch(endpoint)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/addons/website/models/ir_http.py", line 235, in _dispatch

    response = super()._dispatch(endpoint)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/odoo/addons/base/models/ir_http.py", line 222, in _dispatch

    result = endpoint(**request.params)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/odoo/http.py", line 722, in route_wrapper

    result = endpoint(self, *args, **params_ok)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/addons/web/controllers/dataset.py", line 28, in call_button

    action = self._call_kw(model, method, args, kwargs)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/addons/web/controllers/dataset.py", line 20, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/odoo/api.py", line 468, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/odoo/api.py", line 453, in _call_kw_multi

    result = method(recs, *args, **kwargs)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/addons/auth_signup/models/res_users.py", line 180, in action_reset_password

    return self._action_reset_password()

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoo17/odoo17/addons/auth_signup/models/res_users.py", line 224, in _action_reset_password

    account_created_template.send_mail(

  File "/opt/odoo17/odoo17/addons/mail/models/mail_template.py", line 674, in send_mail

    mail.send(raise_exception=raise_exception)

  File "/opt/odoo17/odoo17/addons/mail/models/mail_mail.py", line 550, in send

    self.browse(batch_ids)._send(

TypeError: MailMail._send() got an unexpected keyword argument 'alias_domain_id'


The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

    at makeErrorFromResponse (https://test.thetechnologystudio.com/web/assets/1/4dc2207/web.assets_web.min.js:2877:163)

    at XMLHttpRequest. (https://test.thetechnologystudio.com/web/assets/1/4dc2207/web.assets_web.min.js:2881:13)    at XMLHttpRequest.c (https://test.thetechnologystudio.com/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js:1:9405)


Any help would be amazing, Thank you!

Avatar
Abbandona
Risposta migliore

Hi,
If you are using any custom modules, ensure the error is not coming from the custom code. If you dont think the error is from custom code, just ensure to use the latest source code of odoo 17.0

May be the bug exists at some point and later odoo already have fixed it, so just update the source code and see.


Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
14
mag 24
234552
2
feb 24
4881
2
mar 23
6018
1
mag 22
2713
1
nov 17
8080