Am having problems in getting emails out from project tasks.
Smtp settings are correct and confirmed.
Task messages are not sent to followers or employees, although employees are set to receive all messages.
When adding an external mail address, system thows long error code, see below, which doesn't ring a bell with me.
Anyone being able to see what is wrong and advise how to fix please?
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 677, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 333, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 326, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 935, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 506, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/odoo/addons/web/controllers/main.py", line 889, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/site-packages/odoo/addons/web/controllers/main.py", line 877, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python2.7/site-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python2.7/site-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/odoo/addons/mail/wizard/mail_compose_message.py", line 194, in send_mail_action
return self.send_mail()
File "/usr/lib/python2.7/site-packages/odoo/addons/account/models/account_invoice.py", line 1539, in send_mail
return super(MailComposeMessage, self).send_mail(auto_commit=auto_commit)
File "/home/admin/odoo/addons/mail_optional_autofollow/wizard/mail_compose_message.py", line 29, in send_mail
auto_commit=auto_commit)
File "/usr/lib/python2.7/site-packages/odoo/addons/mail/wizard/mail_compose_message.py", line 258, in send_mail
**mail_values)
File "/usr/lib/python2.7/site-packages/odoo/addons/mail/models/mail_thread.py", line 1882, in message_post
new_message = MailMessage.create(values)
File "/usr/lib/python2.7/site-packages/odoo/addons/mail/models/mail_message.py", line 731, in create
user_signature=self.env.context.get('mail_notify_user_signature', True))
File "/usr/lib/python2.7/site-packages/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 "/usr/lib/python2.7/site-packages/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 "/usr/lib/python2.7/site-packages/odoo/addons/mail/models/res_partner.py", line 220, in _notify_by_email
new_emails, new_recipients_nbr = self._notify_send(not_values['body'], not_values['subject'], recipient_template_values['not_followers'], **base_mail_values)
KeyError: 'body'