SHARE
TWEET

Untitled

a guest May 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "/home/odoo/src/odoo/10.0/odoo/http.py", line 642, in _handle_exception
  3.     return super(JsonRequest, self)._handle_exception(exception)
  4.   File "/home/odoo/src/odoo/10.0/odoo/http.py", line 684, in dispatch
  5.     result = self._call_function(**self.params)
  6.   File "/home/odoo/src/odoo/10.0/odoo/http.py", line 334, in _call_function
  7.     return checked_call(self.db, *args, **kwargs)
  8.   File "/home/odoo/src/odoo/10.0/odoo/service/model.py", line 101, in wrapper
  9.     return f(dbname, *args, **kwargs)
  10.   File "/home/odoo/src/odoo/10.0/odoo/http.py", line 327, in checked_call
  11.     result = self.endpoint(*a, **kw)
  12.   File "/home/odoo/src/odoo/10.0/odoo/http.py", line 942, in __call__
  13.     return self.method(*args, **kw)
  14.   File "/home/odoo/src/odoo/10.0/odoo/http.py", line 507, in response_wrap
  15.     response = f(*args, **kw)
  16.   File "/home/odoo/src/odoo/10.0/addons/web/controllers/main.py", line 895, in call_kw
  17.     return self._call_kw(model, method, args, kwargs)
  18.   File "/home/odoo/src/odoo/10.0/addons/web/controllers/main.py", line 887, in _call_kw
  19.     return call_kw(request.env[model], method, args, kwargs)
  20.   File "/home/odoo/src/odoo/10.0/odoo/api.py", line 689, in call_kw
  21.     return call_kw_multi(method, model, args, kwargs)
  22.   File "/home/odoo/src/odoo/10.0/odoo/api.py", line 680, in call_kw_multi
  23.     result = method(recs, *args, **kwargs)
  24.   File "/home/odoo/src/odoo/10.0/odoo/models.py", line 3038, in read
  25.     data[record][name] = convert(record[name], record, use_name_get)
  26.   File "/home/odoo/src/odoo/10.0/odoo/models.py", line 5251, in __getitem__
  27.     return self._fields[key].__get__(self, type(self))
  28.   File "/home/odoo/src/odoo/10.0/odoo/fields.py", line 927, in __get__
  29.     self.determine_value(record)
  30.   File "/home/odoo/src/odoo/10.0/odoo/fields.py", line 1039, in determine_value
  31.     self.compute_value(recs)
  32.   File "/home/odoo/src/odoo/10.0/odoo/fields.py", line 993, in compute_value
  33.     self._compute_value(records)
  34.   File "/home/odoo/src/odoo/10.0/odoo/fields.py", line 984, in _compute_value
  35.     getattr(records, self.compute)()
  36.   File "/home/odoo/src/odoo/10.0/addons/sale_timesheet/models/sale_order.py", line 44, in _compute_project_project_id
  37.     order.project_project_id = self.env['project.project'].search([('analytic_account_id', '=', order.project_id.id)])
  38.   File "/home/odoo/src/odoo/10.0/odoo/fields.py", line 945, in __set__
  39.     value = self.convert_to_cache(value, record)
  40.   File "/home/odoo/src/odoo/10.0/odoo/fields.py", line 1967, in convert_to_cache
  41.     raise ValueError("Wrong value for %s: %r" % (self, value))
  42. ValueError: Wrong value for sale.order.project_project_id: project.project(681, 689)
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
 
Top