Skip to Content
Menu
This question has been flagged

HI All

I'm currently running odoo 10 community on ubuntu 16lts server, and on the timsheet module after saving time for the week, when i am trying to submit the same to Manager for approval, it's throwing the following error. Please let me know if you have any solution for the same, or any work around. 


Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 638, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 675, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 331, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 119, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 324, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 933, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 866, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 854, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 681, in call_kw return call_kw_multi(method, model, args, kwargs) File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 672, in call_kw_multi result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/addons/hr_timesheet_sheet/models/hr_timesheet_sheet.py", line 129, in action_timesheet_confirm self.write({'state': 'confirm'}) File "/usr/lib/python2.7/dist-packages/odoo/addons/hr_timesheet_sheet/models/hr_timesheet_sheet.py", line 115, in write return super(HrTimesheetSheet, self).write(vals) File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_thread.py", line 281, in write track_self.message_track(tracked_fields, initial_values) File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_thread.py", line 501, in message_track record.message_post(subtype=subtype_xmlid, tracking_value_ids=tracking_value_ids) File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1879, in message_post new_message = MailMessage.create(values) File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_message.py", line 723, in create user_signature=self.env.context.get('mail_notify_user_signature', True)) File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_message.py", line 791, in _notify partners._notify(self, force_send=force_send, send_after_commit=send_after_commit, user_signature=user_signature) File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/res_partner.py", line 156, 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/dist-packages/odoo/addons/mail/models/res_partner.py", line 201, 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
Related Posts Replies Views Activity
3
Jul 24
27561
1
Feb 24
953
0
Oct 24
2828
0
Nov 22
907
0
Aug 22
895