Hi
I am getting following error in while try to assign task to an employee
Error:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 927, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 916, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 908, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/sale_timesheet/models/project.py", line 74, in write
result = super(ProjectTask, self).write(values)
File "/usr/lib/python3/dist-packages/odoo/addons/project/models/project.py", line 659, in write
result = super(Task, self).write(vals)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 280, in write
self.message_auto_subscribe(list(values), values=values)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 2162, in message_auto_subscribe
self._message_auto_subscribe_notify(user_pids)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 2090, in _message_auto_subscribe_notify
subtype_id=self.env.ref('mail.mt_note').id)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1936, in message_post_with_view
record.message_post_with_template(False, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1967, in message_post_with_template
return composer.send_mail()
File "/usr/lib/python3/dist-packages/odoo/addons/sale/wizard/mail_compose_message.py", line 17, in send_mail
return super(MailComposeMessage, self).send_mail(auto_commit=auto_commit)
File "/usr/lib/python3/dist-packages/odoo/addons/account/models/account_invoice.py", line 1823, in send_mail
return super(MailComposeMessage, self).send_mail(auto_commit=auto_commit)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/wizard/mail_compose_message.py", line 261, in send_mail
batch_mails.send(auto_commit=auto_commit)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 248, in send
smtp_session.quit()
File "/usr/lib/python3.5/smtplib.py", line 978, in quit
res = self.docmd("quit")
File "/usr/lib/python3.5/smtplib.py", line 419, in docmd
self.putcmd(cmd, args)
File "/usr/lib/python3.5/smtplib.py", line 366, in putcmd
self.send(str)
File "/usr/lib/python3.5/smtplib.py", line 358, in send
raise SMTPServerDisconnected('please run connect() first')
smtplib.SMTPServerDisconnected: please run connect() first
Please help