2024-12-10 19:53:18
|
WARNING
|
server
|
odoo.modules.loading:93
Module l10n_ar_tax 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 0x7ff85d17fc70>, 'account.4_ri_tax_withholding_iibb_caba_applied')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 389, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in <module>
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 2245, 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 2238, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: account.4_ri_tax_withholding_iibb_caba_applied
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 405, in _tag_record
f_val = _eval_xml(self, field, env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 101, in _eval_xml
return safe_eval(a_eval, idref2)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 36, in safe_eval
return s_eval(expr, ctx, nocopy=True)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 403, in safe_eval
raise ValueError('%r while evaluating\n%r' % (e, expr))
ValueError: ValueError('External ID not found in the system: account.4_ri_tax_withholding_iibb_caba_applied') while evaluating
"ref('account.%s_%s' % (ref('base.company_ri'), 'ri_tax_withholding_iibb_caba_applied'))"
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 89, 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 71, 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/odoo-argentina-ce-ingadhoc-odoo-argentina/l10n_ar_tax/demo/account_fiscal_position_demo.xml:20, somewhere inside
<record id="fiscal_position_caba_and_proffits_withholding" model="account.fiscal.position.l10n_ar_tax">
<field name="fiscal_position_id" ref="fiscal_position_caba_and_proffits"/>
<field name="default_tax_id" eval="ref('account.%s_%s' % (ref('base.company_ri'), 'ri_tax_withholding_iibb_caba_applied'))"/>
<field name="tax_type">withholding</field>
<field name="webservice">agip</field>
</record>
|