Advertisement
cth-odoo

Untitled

Jul 14th, 2021
727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.60 KB | None | 0 0
  1. Error:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
  6.     result = request.dispatch()
  7.   File "/home/odoo/src/odoo/odoo/http.py", line 684, in dispatch
  8.     result = self._call_function(**self.params)
  9.   File "/home/odoo/src/odoo/odoo/http.py", line 360, in _call_function
  10.     return checked_call(self.db, *args, **kwargs)
  11.   File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
  12.     return f(dbname, *args, **kwargs)
  13.   File "/home/odoo/src/odoo/odoo/http.py", line 348, in checked_call
  14.     result = self.endpoint(*a, **kw)
  15.   File "/home/odoo/src/odoo/odoo/http.py", line 913, in __call__
  16.     return self.method(*args, **kw)
  17.   File "/home/odoo/src/odoo/odoo/http.py", line 532, in response_wrap
  18.     response = f(*args, **kw)
  19.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1347, in search_read
  20.     return self.do_search_read(model, fields, offset, limit, domain, sort)
  21.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1366, in do_search_read
  22.     return Model.web_search_read(domain, fields, offset=offset, limit=limit, order=sort)
  23.   File "/home/odoo/src/odoo/addons/web/models/models.py", line 53, in web_search_read
  24.     records = self.search_read(domain, fields, offset=offset, limit=limit, order=order)
  25.   File "/home/odoo/src/odoo/odoo/models.py", line 4833, in search_read
  26.     result = records.read(fields)
  27.   File "/home/odoo/src/odoo/odoo/models.py", line 3014, in read
  28.     return self._read_format(fnames=fields, load=load)
  29.   File "/home/odoo/src/odoo/odoo/models.py", line 3034, in _read_format
  30.     vals[name] = convert(record[name], record, use_name_get)
  31.   File "/home/odoo/src/odoo/odoo/models.py", line 5660, in __getitem__
  32.     return self._fields[key].__get__(self, type(self))
  33.   File "/home/odoo/src/odoo/odoo/fields.py", line 3147, in __get__
  34.     return super().__get__(records, owner)
  35.   File "/home/odoo/src/odoo/odoo/fields.py", line 2483, in __get__
  36.     return super().__get__(records, owner)
  37.   File "/home/odoo/src/odoo/odoo/fields.py", line 1026, in __get__
  38.     raise ValueError("Compute method failed to assign %s.%s" % (record, self.name))
  39. Exception
  40.  
  41. The above exception was the direct cause of the following exception:
  42.  
  43. Traceback (most recent call last):
  44.   File "/home/odoo/src/odoo/odoo/http.py", line 640, in _handle_exception
  45.     return super(JsonRequest, self)._handle_exception(exception)
  46.   File "/home/odoo/src/odoo/odoo/http.py", line 316, in _handle_exception
  47.     raise exception.with_traceback(None) from new_cause
  48. ValueError: Compute method failed to assign edi.mapping(1,).allowed_fields_ids
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement