2022-12-21 12:38:03
|
WARNING
|
server
|
odoo.modules.loading:90
Module ipi_science_config demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/data/build/odoo/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/data/build/odoo/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x7fb8689115e0>, 'ipi_science_data.demo_user_customer')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/safe_eval.py", line 332, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in <module>
File "/data/build/odoo/odoo/tools/convert.py", line 666, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/odoo/odoo/tools/convert.py", line 672, 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/odoo/odoo/addons/base/models/ir_model.py", line 1943, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in _xmlid_lookup
File "/data/build/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1936, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: ipi_science_data.demo_user_customer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/convert.py", line 683, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 572, in _tag_record
f_val = _eval_xml(self, field, env)
File "/data/build/odoo/odoo/tools/convert.py", line 117, in _eval_xml
return safe_eval(a_eval, idref2)
File "/data/build/odoo/odoo/tools/convert.py", line 39, in <lambda>
safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
File "/data/build/odoo/odoo/tools/safe_eval.py", line 348, in safe_eval
raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: <class 'ValueError'>: "External ID not found in the system: ipi_science_data.demo_user_customer" while evaluating
"[Command.link(ref('ipi_science_data.demo_user_customer'))]"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/build/odoo/odoo/modules/loading.py", line 86, in load_demo
load_data(cr, idref, mode, kind='demo', package=package)
File "/data/build/odoo/odoo/modules/loading.py", line 69, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/odoo/odoo/tools/convert.py", line 748, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/data/build/odoo/odoo/tools/convert.py", line 814, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/odoo/odoo/tools/convert.py", line 734, in parse
self._tag_root(de)
File "/data/build/odoo/odoo/tools/convert.py", line 683, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 696, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/ipi_addons/ipi_science_config/demo/res_users_demo.xml:11, somewhere inside
<record id="base.group_portal" model="res.groups"><!-- Add the demo user to the portal (and therefore to the portal member group) -->
<field name="users" eval="[Command.link(ref('ipi_science_data.demo_user_customer'))]"/>
</record>
|