SHARE
TWEET

Untitled

a guest Jun 25th, 2019 63 in 3 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Error:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5.   File "/data/build/odoo/http.py", line 629, in _handle_exception
  6.     return super(JsonRequest, self)._handle_exception(exception)
  7.   File "/data/build/odoo/http.py", line 323, in _handle_exception
  8.     raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  9.   File "/data/build/odoo/tools/pycompat.py", line 14, in reraise
  10.     raise value
  11.   File "/data/build/odoo/http.py", line 669, in dispatch
  12.     result = self._call_function(**self.params)
  13.   File "/data/build/odoo/http.py", line 355, in _call_function
  14.     return checked_call(self.db, *args, **kwargs)
  15.   File "/data/build/odoo/service/model.py", line 97, in wrapper
  16.     return f(dbname, *args, **kwargs)
  17.   File "/data/build/odoo/http.py", line 348, in checked_call
  18.     result = self.endpoint(*a, **kw)
  19.   File "/data/build/odoo/http.py", line 912, in __call__
  20.     return self.method(*args, **kw)
  21.   File "/data/build/odoo/http.py", line 520, in response_wrap
  22.     response = f(*args, **kw)
  23.   File "/data/build/odoo/addons/web/controllers/main.py", line 949, in call_kw
  24.     return self._call_kw(model, method, args, kwargs)
  25.   File "/data/build/odoo/addons/web/controllers/main.py", line 941, in _call_kw
  26.     return call_kw(request.env[model], method, args, kwargs)
  27.   File "/data/build/odoo/api.py", line 745, in call_kw
  28.     return _call_kw_multi(method, model, args, kwargs)
  29.   File "/data/build/odoo/api.py", line 732, in _call_kw_multi
  30.     result = method(recs, *args, **kwargs)
  31.   File "/data/build/odoo/addons/mrp/models/mrp_workorder.py", line 262, in write
  32.     return super(MrpWorkorder, self).write(values)
  33.   File "/data/build/odoo/addons/mail/models/mail_thread.py", line 327, in write
  34.     result = super(MailThread, self).write(values)
  35.   File "/data/build/odoo/addons/mail/models/mail_activity.py", line 647, in write
  36.     return super(MailActivityMixin, self).write(vals)
  37.   File "/data/build/odoo/models.py", line 3407, in write
  38.     fields[0].determine_inverse(records)
  39.   File "/data/build/odoo/fields.py", line 1165, in determine_inverse
  40.     getattr(records, self.inverse)()
  41.   File "/data/build/odoo/addons/mrp/models/mrp_workorder.py", line 140, in _set_dates_planned
  42.     date_from = self.date_planned_start[0]
  43. TypeError: 'datetime.datetime' object is not subscriptable
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top