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

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

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

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

[已解决]更新模块报不知名错误



  • Traceback (most recent call last):
      File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 638, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
      File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 675, in dispatch
        result = self._call_function(**self.params)
      File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 331, in _call_function
        return checked_call(self.db, *args, **kwargs)
      File "/home/odoo/odoo-dev/odoo10/odoo/service/model.py", line 119, in wrapper
        return f(dbname, *args, **kwargs)
      File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 324, in checked_call
        result = self.endpoint(*a, **kw)
      File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 933, in __call__
        return self.method(*args, **kw)
      File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 504, in response_wrap
        response = f(*args, **kw)
      File "/home/odoo/odoo-dev/odoo10/addons/web/controllers/main.py", line 821, in load_needaction
        return request.env['ir.ui.menu'].browse(menu_ids).get_needaction_data()
      File "/home/odoo/odoo-dev/odoo10/odoo/addons/base/ir/ir_ui_menu.py", line 232, in get_needaction_data
        res[menu.id]['needaction_counter'] = model._needaction_count(dom)
      File "/home/odoo/odoo-dev/odoo10/odoo/addons/base/ir/ir_needaction.py", line 47, in _needaction_count
        res = self.search((domain or []) + dom, limit=100, order='id DESC')
      File "/home/odoo/odoo-dev/odoo10/odoo/models.py", line 1518, in search
        res = self._search(args, offset=offset, limit=limit, order=order, count=count)
      File "/home/odoo/odoo-dev/odoo10/odoo/models.py", line 4224, in _search
        query = self._where_calc(args)
      File "/home/odoo/odoo-dev/odoo10/odoo/models.py", line 4023, in _where_calc
        e = expression.expression(domain, self)
      File "/home/odoo/odoo-dev/odoo10/odoo/osv/expression.py", line 643, in __init__
        self.parse()
      File "/home/odoo/odoo-dev/odoo10/odoo/osv/expression.py", line 821, in parse
        raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
    ValueError: Invalid field 'parent_id' in leaf "<osv.ExtendedLeaf: ('parent_id', '=', False) on project_task (ctx: )>"
    


  • @hui更新模块报不知名错误 中说:

    project_task (ctx: )>"

    不知道啥时候安装了project模块导致的,卸载就好了。