cth-odoo

Untitled

Mar 8th, 2021
535
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 "/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 683, in dispatch
  8.     result = self._call_function(**self.params)
  9.   File "/home/odoo/src/odoo/odoo/http.py", line 359, 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 347, in checked_call
  14.     result = self.endpoint(*a, **kw)
  15.   File "/home/odoo/src/odoo/odoo/http.py", line 912, in __call__
  16.     return self.method(*args, **kw)
  17.   File "/home/odoo/src/odoo/odoo/http.py", line 531, in response_wrap
  18.     response = f(*args, **kw)
  19.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1377, in call_kw
  20.     return self._call_kw(model, method, args, kwargs)
  21.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1369, in _call_kw
  22.     return call_kw(request.env[model], method, args, kwargs)
  23.   File "/home/odoo/src/odoo/odoo/api.py", line 392, in call_kw
  24.     result = _call_kw_model(method, model, args, kwargs)
  25.   File "/home/odoo/src/odoo/odoo/api.py", line 365, in _call_kw_model
  26.     result = method(recs, *args, **kwargs)
  27.   File "/home/odoo/src/odoo/odoo/models.py", line 1523, in load_views
  28.     result['fields_views'] = {
  29.   File "/home/odoo/src/odoo/odoo/models.py", line 1524, in <dictcomp>
  30.     v_type: self.fields_view_get(v_id, v_type if v_type != 'list' else 'tree',
  31.   File "/home/odoo/src/odoo/addons/web/models/models.py", line 220, in fields_view_get
  32.     r = super().fields_view_get(view_id, view_type, toolbar, submenu)
  33.   File "/home/odoo/src/odoo/odoo/models.py", line 1614, in fields_view_get
  34.     xarch, xfields = view.postprocess_and_fields(etree.fromstring(result['arch']), model=self._name)
  35.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 851, in postprocess_and_fields
  36.     arch, name_manager = self._postprocess_view(node, model, validate=validate)
  37.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 860, in _postprocess_view
  38.     self._postprocess_on_change(model, node)
  39.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 895, in _postprocess_on_change
  40.     if model._has_onchange(field, field_nodes):
  41.   File "/home/odoo/src/odoo/odoo/models.py", line 5927, in _has_onchange
  42.     dep in other_fields for dep in self._dependent_fields(field)
  43.   File "/home/odoo/src/odoo/odoo/models.py", line 5920, in _dependent_fields
  44.     return traverse(self.pool.field_triggers.get(field, {}))
  45.   File "/home/odoo/src/odoo/odoo/tools/func.py", line 26, in __get__
  46.     value = self.fget(obj)
  47.   File "/home/odoo/src/odoo/odoo/modules/registry.py", line 315, in field_triggers
  48.     dependencies[field] = set(field.resolve_depends(self))
  49.   File "/home/odoo/src/odoo/odoo/fields.py", line 621, in resolve_depends
  50.     for dotnames in self.depends:
  51. Exception
  52.  
  53. The above exception was the direct cause of the following exception:
  54.  
  55. Traceback (most recent call last):
  56.   File "/home/odoo/src/odoo/odoo/http.py", line 639, in _handle_exception
  57.     return super(JsonRequest, self)._handle_exception(exception)
  58.   File "/home/odoo/src/odoo/odoo/http.py", line 315, in _handle_exception
  59.     raise exception.with_traceback(None) from new_cause
  60. AttributeError: 'Char' object has no attribute 'depends'
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×