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

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

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

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

odoo install module problem,help



  • Odoo

    Odoo Server Error

    Traceback (most recent call last):
      File "/home/odoo/odoo-10.0/odoo/http.py", line 640, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
      File "/home/odoo/odoo-10.0/odoo/http.py", line 677, in dispatch
        result = self._call_function(**self.params)
      File "/home/odoo/odoo-10.0/odoo/http.py", line 333, in _call_function
        return checked_call(self.db, *args, **kwargs)
      File "/home/odoo/odoo-10.0/odoo/service/model.py", line 101, in wrapper
        return f(dbname, *args, **kwargs)
      File "/home/odoo/odoo-10.0/odoo/http.py", line 326, in checked_call
        result = self.endpoint(*a, **kw)
      File "/home/odoo/odoo-10.0/odoo/http.py", line 935, in __call__
        return self.method(*args, **kw)
      File "/home/odoo/odoo-10.0/odoo/http.py", line 506, in response_wrap
        response = f(*args, **kw)
      File "/home/odoo/odoo-10.0/addons/web/controllers/main.py", line 889, in call_button
        action = self._call_kw(model, method, args, {})
      File "/home/odoo/odoo-10.0/addons/web/controllers/main.py", line 877, in _call_kw
        return call_kw(request.env[model], method, args, kwargs)
      File "/home/odoo/odoo-10.0/odoo/api.py", line 681, in call_kw
        return call_kw_multi(method, model, args, kwargs)
      File "/home/odoo/odoo-10.0/odoo/api.py", line 672, in call_kw_multi
        result = method(recs, *args, **kwargs)
      File "/home/odoo/odoo-10.0/odoo/addons/base/module/module.py", line 410, in button_immediate_install
        return self._button_immediate_function(type(self).button_install)
      File "/home/odoo/odoo-10.0/odoo/addons/base/module/module.py", line 484, in _button_immediate_function
        modules.registry.Registry.new(self._cr.dbname, update_module=True)
      File "/home/odoo/odoo-10.0/odoo/modules/registry.py", line 82, in new
        odoo.modules.load_modules(registry._db, force_demo, status, update_module)
      File "/home/odoo/odoo-10.0/odoo/modules/loading.py", line 339, in load_modules
        loaded_modules, update_module)
      File "/home/odoo/odoo-10.0/odoo/modules/loading.py", line 237, in load_marked_modules
        loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
      File "/home/odoo/odoo-10.0/odoo/modules/loading.py", line 159, in load_module_graph
        _load_data(cr, module_name, idref, mode, kind='demo')
      File "/home/odoo/odoo-10.0/odoo/modules/loading.py", line 95, in _load_data
        tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
      File "/home/odoo/odoo-10.0/odoo/tools/convert.py", line 845, in convert_file
        convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
      File "/home/odoo/odoo-10.0/odoo/tools/convert.py", line 915, in convert_xml_import
        obj.parse(doc.getroot(), mode=mode)
      File "/home/odoo/odoo-10.0/odoo/tools/convert.py", line 799, in parse
        self._tags[rec.tag](rec, de, mode=mode)
      File "/home/odoo/odoo-10.0/odoo/tools/convert.py", line 695, in _tag_record
        f_val = self.id_get(f_ref)
      File "/home/odoo/odoo-10.0/odoo/tools/convert.py", line 782, in id_get
        res = self.model_id_get(id_str, raise_if_not_found)
      File "/home/odoo/odoo-10.0/odoo/tools/convert.py", line 788, in model_id_get
        return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
      File "/home/odoo/odoo-10.0/odoo/addons/base/ir/ir_model.py", line 1075, in xmlid_to_res_model_res_id
        return self.xmlid_lookup(xmlid)[1:3]
      File "<decorator-gen-5>", line 2, in xmlid_lookup
      File "/home/odoo/odoo-10.0/odoo/tools/cache.py", line 87, in lookup
        value = d[key] = self.method(*args, **kwargs)
      File "/home/odoo/odoo-10.0/odoo/addons/base/ir/ir_model.py", line 1064, in xmlid_lookup
        raise ValueError('External ID not found in the system: %s' % xmlid)
    ParseError: "External ID not found in the system: base.user_demo" while parsing /home/odoo/odoo-10.0/addons/resource/data/resource_demo.xml:90, near
    <record id="resource_designer" model="resource.resource">
                <field eval="100" name="time_efficiency"/>
                <field name="user_id" ref="base.user_demo"/>
                <field name="name">Designer</field>
                <field eval="1" name="active"/>
                <field name="calendar_id" ref="timesheet_group1"/>
                <field name="resource_type">user</field>
            </record>
    


  • 不勾选 Load demonstration data ,再试试,
    或者 不安装 resource 这个模块,
    另外:可以找到 那些 安装到 一半的 模块,取消安装的,



  • @sotsamodoo install module problem,help 中说:

    ParseError: "External ID not found in the system: base.user_demo" while parsing /home/odoo/odoo-10.0/addons/resource/data/resource_demo.xml:90, near

    ParseError: "External ID not found in the system: base.user_demo" while parsing /home/odoo/odoo-10.0/addons/resource/data/resource_demo.xml:90, near


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待