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

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

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

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

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

odoo12点击常规设置时报错



  • TIM截图20190627160441.png

    错误:
    Odoo Server Error
    
    Traceback (most recent call last):
      File "/usr/local/odoo-12.0/odoo/http.py", line 654, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
      File "/usr/local/odoo-12.0/odoo/http.py", line 312, in _handle_exception
        raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
      File "/usr/local/odoo-12.0/odoo/tools/pycompat.py", line 87, in reraise
        raise value
      File "/usr/local/odoo-12.0/odoo/http.py", line 696, in dispatch
        result = self._call_function(**self.params)
      File "/usr/local/odoo-12.0/odoo/http.py", line 344, in _call_function
        return checked_call(self.db, *args, **kwargs)
      File "/usr/local/odoo-12.0/odoo/service/model.py", line 97, in wrapper
        return f(dbname, *args, **kwargs)
      File "/usr/local/odoo-12.0/odoo/http.py", line 337, in checked_call
        result = self.endpoint(*a, **kw)
      File "/usr/local/odoo-12.0/odoo/http.py", line 939, in __call__
        return self.method(*args, **kw)
      File "/usr/local/odoo-12.0/odoo/http.py", line 517, in response_wrap
        response = f(*args, **kw)
      File "/usr/local/odoo-12.0/addons/web/controllers/main.py", line 962, in call_kw
        return self._call_kw(model, method, args, kwargs)
      File "/usr/local/odoo-12.0/addons/web/controllers/main.py", line 954, in _call_kw
        return call_kw(request.env[model], method, args, kwargs)
      File "/usr/local/odoo-12.0/odoo/api.py", line 745, in call_kw
        return _call_kw_model(method, model, args, kwargs)
      File "/usr/local/odoo-12.0/odoo/api.py", line 718, in _call_kw_model
        result = method(recs, *args, **kwargs)
      File "/usr/local/odoo-12.0/odoo/models.py", line 1376, in load_views
        for [v_id, v_type] in views
      File "/usr/local/odoo-12.0/odoo/models.py", line 1376, in <dictcomp>
        for [v_id, v_type] in views
      File "/usr/local/odoo-12.0/odoo/addons/base/models/res_config.py", line 395, in fields_view_get
        toolbar=toolbar, submenu=submenu)
      File "/usr/local/odoo-12.0/odoo/models.py", line 1462, in fields_view_get
        xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
      File "/usr/local/odoo-12.0/odoo/addons/base/models/ir_ui_view.py", line 1096, in postprocess_and_fields
        self.raise_view_error(message, view_id)
      File "/usr/local/odoo-12.0/odoo/addons/base/models/ir_ui_view.py", line 548, in raise_view_error
        raise ValueError(message)
    ValueError: 字段`auth_signup_reset_password`不存在
    
    错误的上下文:
    视图 `n/a`
    [view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]
    

    不知该如何定位问题, 请大佬们指教, 谢谢



  • ValueError: 字段auth_signup_reset_password不存在,直接就找到这个字段调试下。



  • 21e52495-1e9b-4ee0-a3d8-edd1a9da3ee2-image.png
    我刚才打断点进常规设置看了一下,定位到 res_config_settings这个model,你可以去看看你是不是少了这个字段


Log in to reply