错误:
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/odoo11/odoo/http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/odoo11/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/odoo/odoo11/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/odoo/odoo11/odoo/http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/odoo11/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/odoo11/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/odoo11/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/odoo11/odoo/http.py", line 939, in call
return self.method(*args, **kw)
File "/home/odoo/odoo11/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/home/odoo/odoo11/addons/web/controllers/main.py", line 876, in search_read
return self.do_search_read(model, fields, offset, limit, domain, sort)
File "/home/odoo/odoo11/addons/web/controllers/main.py", line 898, in do_search_read
offset=offset or 0, limit=limit or False, order=sort or False)
File "/home/odoo/odoo11/odoo/models.py", line 4290, in search_read
records = self.search(domain or [], offset=offset, limit=limit, order=order)
File "/home/odoo/odoo11/odoo/models.py", line 1501, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/home/odoo/odoo11/odoo/models.py", line 3838, in _search
query = self._where_calc(args)
File "/home/odoo/odoo11/odoo/models.py", line 3628, in _where_calc
e = expression.expression(domain, self)
File "/home/odoo/odoo11/odoo/osv/expression.py", line 669, in init
self.parse()
File "/home/odoo/odoo11/odoo/osv/expression.py", line 847, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'x_is_teacher' in leaf "<osv.ExtendedLeaf: ('x_is_teacher', '=', True) on ir_actions (ctx: )>"