2024-10-18 16:14:44
|
WARNING
|
server
|
odoo.modules.loading:92
Module l10n_ar demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 537, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 261, in _tag_function
_eval_xml(self, rec, env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 188, in _eval_xml
return odoo.api.call_kw(model, method_name, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 517, in call_kw
result = getattr(recs, name)(*args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/addons/l10n_ar/models/account_chart_template.py", line 60, in try_loading
return super().try_loading(template_code, company, install_demo)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 154, in try_loading
return self._load(template_code, company, install_demo)
File "/data/build/adhoc-cicd-odoo-odoo/addons/l10n_ar/models/account_chart_template.py", line 39, in _load
res = super()._load(template_code, company, install_demo)
File "/data/build/ingadhoc-account-financial-tools/account_ux/models/chart_template.py", line 8, in _load
res = super()._load(template_code, company, install_demo)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 213, in _load
self._load_data(data)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 610, in _load_data
created_records[model] = self.with_context(lang='en_US').env[model]._load_records(all_records_vals, ignore_duplicates=ignore_duplicates)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5473, 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 5377, in _load_records_create
records = self.create(vals_list)
File "<decorator-gen-244>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account_check_printing/models/account_journal.py", line 72, in create
journals = super().create(vals_list)
File "<decorator-gen-200>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_journal.py", line 874, in create
self._fill_missing_values(vals, protected_codes=codes)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_journal.py", line 837, in _fill_missing_values
vals['default_account_id'] = self._create_default_account(company, journal_type, vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_journal.py", line 801, in _create_default_account
default_account = self.env['account.account'].create(default_account_vals)
File "<decorator-gen-198>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 479, in _model_create_multi
return create(self, [arg])
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_account.py", line 973, in create
.create(vals_list_for_company)
File "<decorator-gen-138>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 263, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-31>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4981, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5239, 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 1599, in _validate_fields
check(self)
File "/data/build/ingadhoc-account-financial-tools/account_ux/models/account_account.py", line 20, in check_currency
for rec in self.filtered(lambda x: x.currency_id == x.company_id.currency_id):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6474, in filtered
return self.browse(rec.id for rec in self if func(rec))
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6182, in browse
ids = tuple(ids)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6474, in <genexpr>
return self.browse(rec.id for rec in self if func(rec))
File "/data/build/ingadhoc-account-financial-tools/account_ux/models/account_account.py", line 20, in <lambda>
for rec in self.filtered(lambda x: x.currency_id == x.company_id.currency_id):
AttributeError: 'account.account' object has no attribute 'company_id'
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/loading.py", line 88, in load_demo
load_data(env(su=True), idref, mode, kind='demo', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 70, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 608, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 679, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 594, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 550, 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_ar/demo/exento_demo.xml:32, somewhere inside
<function model="account.chart.template" name="try_loading">
<value eval="[]"/>
<value>ar_ex</value>
<value model="res.company" eval="obj().env.ref('base.company_exento')"/>
<value name="install_demo" eval="True"/>
</function>
|
2024-10-18 16:15:01
|
WARNING
|
server
|
odoo.modules.loading:92
Module l10n_ar_website_sale demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/cache.py", line 103, in lookup
r = d[key]
File "<decorator-gen-6>", line 2, in __getitem__
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/lru.py", line 33, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x7f80c72f39a0>, 'base.company_ri')
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 537, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 400, in _tag_record
f_val = self.id_get(f_ref, raise_if_not_found=nodeattr2bool(rec, 'forcecreate', True))
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 519, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 525, 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 "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_model.py", line 2234, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)
File "<decorator-gen-44>", line 2, in _xmlid_lookup
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/cache.py", line 110, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_model.py", line 2227, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: base.company_ri
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/loading.py", line 88, in load_demo
load_data(env(su=True), idref, mode, kind='demo', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 70, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 608, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 679, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 594, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 550, 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_ar_website_sale/demo/website_demo.xml:4, somewhere inside
<record id="default_website_ri" model="website">
<field name="name">(AR) Responsable Inscripto Website</field>
<field name="company_id" ref="base.company_ri"/>
<field name="domain" model="ir.config_parameter" eval="obj().env['ir.config_parameter'].sudo().get_param('web.base.url')"/>
</record>
|