Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

新手求助,想问下怎么修改才能恢复正常



  • 错误:
    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: )>"



  • @peishaosong
    是不是用这个字段做条件的时候,没有提前先把这个字段给展示处理


Log in to reply