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

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

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

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

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

odoo10安装模块报错!



  • 安装eCommerce Delivery(电子商务交付)模块报错

    截图
    de62f0d8-6f45-4ba4-8c1f-63afa6a877ef-image.png

    报错详情
    Traceback (most recent call last):
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 638, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 675, in dispatch
    result = self._call_function(**self.params)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 331, in _call_function
    return checked_call(self.db, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/service/model.py", line 119, in wrapper
    return f(dbname, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 324, in checked_call
    result = self.endpoint(*a, **kw)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 933, in call
    return self.method(*args, **kw)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 504, in response_wrap
    response = f(*args, **kw)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/web/controllers/main.py", line 866, in call_button
    action = self._call_kw(model, method, args, {})
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/web/controllers/main.py", line 854, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/api.py", line 681, in call_kw
    return call_kw_multi(method, model, args, kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/api.py", line 672, in call_kw_multi
    result = method(recs, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/module/module.py", line 410, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/module/module.py", line 484, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/modules/registry.py", line 78, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/modules/loading.py", line 337, in load_modules
    loaded_modules, update_module)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/modules/loading.py", line 235, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/modules/loading.py", line 95, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/tools/convert.py", line 848, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/tools/convert.py", line 918, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/tools/convert.py", line 802, in parse
    self._tags[rec.tag](rec, de, mode=mode)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/tools/convert.py", line 710, in _tag_record
    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/ir/ir_model.py", line 1159, in _update
    record = record.create(values)
    File "/home/cde-fs-server/odoo-dev/custom/addons/opencart_erp_connector/models/core_overrides.py", line 151, in create
    return super(DeliveryCarrier, self).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/delivery/models/delivery_carrier.py", line 253, in create
    res = super(DeliveryCarrier, self).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3802, in create
    record = self.browse(self._create(old_vals))
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3856, in _create
    parent_id = self.env[parent_model].create(parent_vals).id
    File "/home/cde-fs-server/odoo-dev/custom/addons/opencart_erp_connector/models/core_updated_files.py", line 883, in create
    erp_id = super(ProductProduct, self).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/product/models/product.py", line 320, in create
    product = super(ProductProduct, self.with_context(create_product_product=True)).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/mail/models/mail_thread.py", line 229, in create
    thread = super(MailThread, self).create(values)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3802, in create
    record = self.browse(self._create(old_vals))
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3856, in _create
    parent_id = self.env[parent_model].create(parent_vals).id
    File "/home/cde-fs-server/odoo-dev/custom/addons/opencart_erp_connector/models/core_updated_files.py", line 996, in create
    template_id = super(product_template, self).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/hr_expense/models/product_template.py", line 18, in create
    return super(ProductTemplate, self).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/product/models/product_template.py", line 267, in create
    template = super(ProductTemplate, self).create(vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/mail/models/mail_thread.py", line 229, in create
    thread = super(MailThread, self).create(values)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3802, in create
    record = self.browse(self._create(old_vals))
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3890, in _create
    cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/sql_db.py", line 141, in wrapper
    return f(self, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/sql_db.py", line 218, in execute
    res = self._obj.execute(query, params)
    ParseError: "null value in column "name" violates not-null constraint
    DETAIL: Failing row contains (618, null, 1.00, null, 1, null, 1, 1, null, null, 2020-09-29 09:48:05.37456, 1, t, t, null, 5, 1, null, null, null, 2020-09-29 09:48:05.37456, t, 1, null, f, consu, none, null, null, 0, null, no-message, manual, null, order, no, 0, null, receive, no-message, null, f, t, f, null, null, null, null, f, f, null, null, f, null, null, null, null, null, null, null, f, null, null, empty, null, 1, 7, 1, null).
    " while parsing /home/cde-fs-server/odoo-dev/odoo-server/addons/website_sale_delivery/data/website_sale_delivery_data.xml:3, near


    安装eCommerce Delivery(电子商务交付)模块报错
    麻烦大神指教!!!!!!