SHARE
TWEET

Untitled

a guest Aug 19th, 2019 81 Never
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/odoo/http.py", line 631, in _handle_exception
  6.     return super(JsonRequest, self)._handle_exception(exception)
  7.   File "/data/build/odoo/odoo/http.py", line 325, in _handle_exception
  8.     raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  9.   File "/data/build/odoo/odoo/tools/pycompat.py", line 14, in reraise
  10.     raise value
  11.   File "/data/build/odoo/odoo/http.py", line 676, in dispatch
  12.     result = self._call_function(**self.params)
  13.   File "/data/build/odoo/odoo/http.py", line 357, in _call_function
  14.     return checked_call(self.db, *args, **kwargs)
  15.   File "/data/build/odoo/odoo/service/model.py", line 92, in wrapper
  16.     return f(dbname, *args, **kwargs)
  17.   File "/data/build/odoo/odoo/http.py", line 350, in checked_call
  18.     result = self.endpoint(*a, **kw)
  19.   File "/data/build/odoo/odoo/http.py", line 894, in __call__
  20.     return self.method(*args, **kw)
  21.   File "/data/build/odoo/odoo/http.py", line 522, in response_wrap
  22.     response = f(*args, **kw)
  23.   File "/data/build/odoo/addons/web/controllers/main.py", line 1106, in call_kw
  24.     return self._call_kw(model, method, args, kwargs)
  25.   File "/data/build/odoo/addons/web/controllers/main.py", line 1098, in _call_kw
  26.     return call_kw(request.env[model], method, args, kwargs)
  27.   File "/data/build/odoo/odoo/api.py", line 373, in call_kw
  28.     return _call_kw_multi(method, model, args, kwargs)
  29.   File "/data/build/odoo/odoo/api.py", line 360, in _call_kw_multi
  30.     result = method(recs, *args, **kwargs)
  31.   File "/data/build/odoo/addons/mrp/models/mrp_workorder.py", line 272, in write
  32.     'date_planned_start': values['date_planned_start']
  33.   File "/data/build/odoo/addons/mrp/models/mrp_production.py", line 443, in write
  34.     'date_expected': vals['date_planned_start'],
  35.   File "/data/build/odoo/addons/stock/models/stock_move.py", line 441, in write
  36.     delta_days = (new_date - move.date_expected).total_seconds() / 86400
  37. TypeError: unsupported operand type(s) for -: 'str' and 'datetime.datetime'
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