Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Odoo Server ErrorTraceback | Module : Quotetation > Send by Email

By
SoyuzTec
on 11/20/16, 4:10 AM 137 views

Odoo Server ErrorTraceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/openerp/http.py", line 647, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 684, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 320, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 313, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 963, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 513, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 916, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 904, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 381, in old_api result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/wizard/mail_compose_message.py", line 190, in send_mail_action return self.with_context(report_template_in_attachment=True).send_mail() File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/purchase/purchase.py", line 1029, in send_mail return super(MailComposeMessage, self.with_context(mail_post_autofollow=True)).send_mail(auto_commit=auto_commit) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/sale/sale.py", line 815, in send_mail return super(MailComposeMessage, self.with_context(mail_post_autofollow=True)).send_mail(auto_commit=auto_commit) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/account/models/account_invoice.py", line 1416, in send_mail return super(MailComposeMessage, self).send_mail(auto_commit=auto_commit) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/wizard/mail_compose_message.py", line 247, in send_mail ActiveModel.browse(res_id).message_post(message_type='comment', subtype=subtype, **mail_values) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/models/mail_thread.py", line 1736, in message_post new_message = MailMessage.create(values) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/models/mail_message.py", line 874, in create user_signature=self.env.context.get('mail_notify_user_signature', True)) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/models/mail_message.py", line 936, in _notify partners._notify(self, force_send=force_send, user_signature=user_signature) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/models/res_partner.py", line 138, in _notify ('notify_email', '!=', 'none')])._notify_by_email(message, force_send=force_send, user_signature=user_signature) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/mail/models/res_partner.py", line 178, 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'

Is there anybody solved?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/20/16, 4:10 AM
Seen: 137 times
Last updated: 11/20/16, 4:14 AM