2024-10-29 21:06:38
|
ERROR
|
server
|
odoo.modules.registry:96
Failed to load registry
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5183, in ensure_one
_id, = self._ids
ValueError: too many values to unpack (expected 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 333, in _tag_function
_eval_xml(self, rec, env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 204, in _eval_xml
return odoo.api.call_kw(model, method_name, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 490, in try_loading
template.with_context(default_company_id=company.id)._load(company)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 580, in _load
acc_template_ref, taxes_ref = self._install_template(company, code_digits=self.code_digits)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 823, in _install_template
tmp1, tmp2 = self.with_context(lang=company.partner_id.lang)._load_template(company, code_digits=code_digits, account_ref=acc_ref, taxes_ref=taxes_ref)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 851, in _load_template
generated_tax_res = self.with_context(active_test=False).tax_template_ids._generate_tax(company)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 1445, in _generate_tax
taxes = ChartTemplate._create_records_with_xmlid('account.tax', tax_template_vals, company)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 930, in _create_records_with_xmlid
return self.env[model]._load_records(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4417, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4328, in _load_records_create
return self.create(values)
File "<decorator-gen-203>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/ingadhoc-account-payment/account_withholding/models/account_tax.py", line 32, in create
recs = super(AccountTax, self).create(vals_list)
File "<decorator-gen-68>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_fields.py", line 670, in create
recs = super().create(vals_list)
File "<decorator-gen-15>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 3984, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4236, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1366, in _validate_fields
check(self)
File "/data/build/ingadhoc-account-payment/account_withholding/models/account_tax.py", line 50, in check_type_tax_use_ar
if self.type_tax_use in ["customer", "supplier"] and self.country_code != "AR":
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1154, in __get__
record.ensure_one()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5186, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: account.tax(1, 2)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 91, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 488, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 231, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 829, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 711, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/adhoc-cicd-odoo-odoo/addons/l10n_generic_coa/data/l10n_generic_coa_post.xml:79, somewhere inside
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_generic_coa.configurable_chart_template')]"/>
</function>
|
2024-10-29 21:06:38
|
CRITICAL
|
server
|
odoo.service.server:1347
Failed to initialize database `87725-16-0-all`.
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5183, in ensure_one
_id, = self._ids
ValueError: too many values to unpack (expected 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 333, in _tag_function
_eval_xml(self, rec, env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 204, in _eval_xml
return odoo.api.call_kw(model, method_name, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 490, in try_loading
template.with_context(default_company_id=company.id)._load(company)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 580, in _load
acc_template_ref, taxes_ref = self._install_template(company, code_digits=self.code_digits)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 823, in _install_template
tmp1, tmp2 = self.with_context(lang=company.partner_id.lang)._load_template(company, code_digits=code_digits, account_ref=acc_ref, taxes_ref=taxes_ref)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 851, in _load_template
generated_tax_res = self.with_context(active_test=False).tax_template_ids._generate_tax(company)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 1445, in _generate_tax
taxes = ChartTemplate._create_records_with_xmlid('account.tax', tax_template_vals, company)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 930, in _create_records_with_xmlid
return self.env[model]._load_records(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4417, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4328, in _load_records_create
return self.create(values)
File "<decorator-gen-203>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/ingadhoc-account-payment/account_withholding/models/account_tax.py", line 32, in create
recs = super(AccountTax, self).create(vals_list)
File "<decorator-gen-68>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_fields.py", line 670, in create
recs = super().create(vals_list)
File "<decorator-gen-15>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 3984, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4236, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1366, in _validate_fields
check(self)
File "/data/build/ingadhoc-account-payment/account_withholding/models/account_tax.py", line 50, in check_type_tax_use_ar
if self.type_tax_use in ["customer", "supplier"] and self.country_code != "AR":
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1154, in __get__
record.ensure_one()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5186, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: account.tax(1, 2)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/service/server.py", line 1310, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-16>", line 2, in new
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 91, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 488, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 231, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 829, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 711, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/adhoc-cicd-odoo-odoo/addons/l10n_generic_coa/data/l10n_generic_coa_post.xml:79, somewhere inside
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_generic_coa.configurable_chart_template')]"/>
</function>
|