Module us_marketplace_integration_prom demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/cache.py", line 103, in lookup
r = d[key]
~^^^^^
File "/home/runbot/.local/lib/python3.12/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/lru.py", line 33, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x74ce3dd302c0>, 'us_prom_integration.marketplace_promua')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/safe_eval.py", line 397, 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 526, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/convert.py", line 532, 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 2253, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runbot/.local/lib/python3.12/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/cache.py", line 110, in lookup
value = d[key] = self.method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 2246, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: us_prom_integration.marketplace_promua
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/convert.py", line 544, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 412, in _tag_record
f_val = _eval_xml(self, field, env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/convert.py", line 101, in _eval_xml
return safe_eval(a_eval, idref2)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/convert.py", line 36, in safe_eval
return s_eval(expr, ctx, nocopy=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/safe_eval.py", line 411, in safe_eval
raise ValueError('%r while evaluating\n%r' % (e, expr))
ValueError: ValueError('External ID not found in the system: us_prom_integration.marketplace_promua') while evaluating
"[(6, 0, [ref('us_prom_integration.marketplace_promua')])]"
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 90, in load_demo
load_data(env(su=True), idref, mode, kind='demo', package=package)
File "/data/build/odoo/odoo/modules/loading.py", line 72, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/odoo/odoo/tools/convert.py", line 615, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/odoo/odoo/tools/convert.py", line 686, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/odoo/odoo/tools/convert.py", line 601, in parse
self._tag_root(de)
File "/data/build/odoo/odoo/tools/convert.py", line 544, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 557, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/single_module_repos/us_marketplace_integration_prom/demo/demo_data.xml:288, somewhere inside
<record id="product_demo_tshirt" model="product.template">
<field name="name">Футболка з принтом [demo]</field>
<field name="is_storable" eval="True"/>
<field name="default_code">PROM_DEMO_005</field>
<field name="purchase_ok" eval="False"/>
<field name="sale_ok" eval="True"/>
<field name="description"><p>Яскрава футболка з оригінальним дизайном.</p></field>
<field name="prom_id">PROM_DEMO_005</field>
<field name="prom_name">Футболка з принтом</field>
<field name="prom_description"><p>Яскрава футболка з оригінальним дизайном.</p></field>
<field name="prom_keywords" eval="[(6, 0, [ref('keyword_demo_fashion')])]"/>
<field name="prom_product_quantity_in_stock">100</field>
<field name="prom_measure_unit">шт.</field>
<field name="prom_region_ids" eval="[(6, 0, [ref('region_demo_odessa'), ref('region_demo_kharkiv')])]"/>
<field name="prom_categ_id" ref="prom_tshirts_demo"/>
<field name="categ_id" ref="product_prom_tshirts_demo"/>
<field name="prom_selling_type">retail</field>
<field name="prom_presence">available</field>
<field name="prom_status">on_display</field>
<field name="prom_product_image_url">https://example.com/images/example5.jpg</field>
<field name="image_1920" type="base64" file="us_marketplace_integration_prom/static/description/assets/demo/tshirt.jpg"/>
<field name="marketplace_ids" eval="[(6, 0, [ref('us_prom_integration.marketplace_promua')])]"/>
<field name="company_id" ref="base.main_company"/>
</record>