@Joshua 开了
mingxing
-
更新应用列表,报错Odoo Server Error -
odoo10安装模块报错!安装eCommerce Delivery(电子商务交付)模块报错
截图
报错详情
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(电子商务交付)模块报错
麻烦大神指教!!!!!! -
更新应用列表,报错Odoo Server Error@Joshua 现在有些其他问题,能请教你吗
-
更新应用列表,报错Odoo Server Error@Joshua 之前按照教程创建了一个空模块(todo),卸载删除后就可以了
-
更新应用列表,报错Odoo Server Error截图
详细报错
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/wizard/base_module_update.py", line 17, in update_module
updated, added = self.env['ir.module.module'].update_list()
File "/home/cde-fs-server/odoo-dev/odoo-server/addons/website_theme_install/models/ir_module_module.py", line 19, in update_list
res = super(IrModuleModule, self).update_list()
File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/module/module.py", line 622, in update_list
mod.write(updated_values)
File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3543, in write
self._write(old_vals)
File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3644, in _write
tname, 'model', self.env.lang, self.ids, val, src_trans)
File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/ir/ir_translation.py", line 330, in _set_ids
(value, src, 'translated', lang, tt, name, tuple(ids)))
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)
DataError: invalid byte sequence for encoding "UTF8": 0xb0求大神指点,谢谢谢谢~