Skip to Content
Menu
This question has been flagged
1 Reply
2435 Views

Hi,


Everyone who try to reply on any discussion (email, taks update, etc.) from discuss page get an handle exception.


Traceback (most recent call last):
  File "/mnt/data/odoo/odoo/http.py", line 638, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/mnt/data/odoo/odoo/http.py", line 675, in dispatch
    result = self._call_function(**self.params)
  File "/mnt/data/odoo/odoo/http.py", line 331, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/mnt/data/odoo/odoo/service/model.py", line 119, in wrapper
    return f(dbname, *args, **kwargs)
  File "/mnt/data/odoo/odoo/http.py", line 324, in checked_call
    result = self.endpoint(*a, **kw)
  File "/mnt/data/odoo/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/mnt/data/odoo/odoo/http.py", line 504, in response_wrap
    response = f(*args, **kw)
  File "/mnt/data/odoo/addons/web/controllers/main.py", line 885, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/mnt/data/odoo/addons/web/controllers/main.py", line 877, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/mnt/data/odoo/odoo/api.py", line 681, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/mnt/data/odoo/odoo/api.py", line 672, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/mnt/data/odoo/addons/mail/models/mail_thread.py", line 1881, in message_post
    new_message = MailMessage.create(values)
  File "/mnt/data/odoo/addons/mail/models/mail_message.py", line 731, in create
    user_signature=self.env.context.get('mail_notify_user_signature', True))
  File "/mnt/data/odoo/addons/mail/models/mail_message.py", line 808, in _notify
    partners._notify(self, force_send=force_send, send_after_commit=send_after_commit, user_signature=user_signature)
  File "/mnt/data/odoo/addons/mail/models/res_partner.py", line 161, in _notify
    ('notify_email', '!=', 'none')])._notify_by_email(message, force_send=force_send, send_after_commit=send_after_commit, user_signature=user_signature)
  File "/mnt/data/odoo/addons/mail/models/res_partner.py", line 206, in _notify_by_email
    new_emails, new_recipients_nbr = self._notify_send(fol_values['body'], fol_values['subject'], recipient_template_values['followers'], **base_mail_values)
KeyError: 'body'



Avatar
Discard
Author Best Answer

No body had this problem like me ?

Avatar
Discard