Post by troyrob »

Hi I'm trying to update the v15 module on odoo.sh and get the following error. Any assistance would be appreciated

2023-11-12 20:02:25,528 4 ERROR redacted odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in getitem
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x7fe2269a5310>, 'project.view_project_task_pivot_inherit')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 683, in _tag_root
f(rec)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 567, in tag_record
f_val = self.id_get(f_ref, raise_if_not_found=nodeattr2bool(rec, 'forcecreate', True))
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 666, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/home/odoo/src/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 "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1970, in xmlid_to_res_model_res_id
return self.
xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-37>", line 2, in _xmlid_lookup
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1963, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: project.view_project_task_pivot_inherit

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 474, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 363, in load_marked_modules
loaded, processed = load_module_graph(
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 222, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 69, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 748, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 814, in convert_xml_import
obj.parse(doc.getroot())
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 734, in parse
self._tag_root(de)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 683, in _tag_root
f(rec)
File "/home/odoo/src/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 /home/odoo/src/user/bryntum_gantt_enterprise/views/project_views.xml:111, somewhere inside
<record id="project_task_view_pivot" model="ir.ui.view">
<field name="name">project_task_view_pivot</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_project_task_pivot_inherit"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='user_ids']" position="replace">
<field name="employee_ids" type="row"/>
</xpath>
</field>
</record>
2023-11-12 20:02:25,532 4 CRITICAL troymroberts-odoopax-sh-prod-test-update-10453288 odoo.service.server: Failed to initialize database troymroberts-odoopax-sh-prod-test-update-10453288.
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in getitem
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.
xmlid_lookup at 0x7fe2269a5310>, 'project.view_project_task_pivot_inherit')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 683, in _tag_root
f(rec)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 567, in tag_record
f_val = self.id_get(f_ref, raise_if_not_found=nodeattr2bool(rec, 'forcecreate', True))
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 666, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/home/odoo/src/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 "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1970, in xmlid_to_res_model_res_id
return self.
xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-37>", line 2, in _xmlid_lookup
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1963, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: project.view_project_task_pivot_inherit

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/service/server.py", line 1260, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 474, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 363, in load_marked_modules
loaded, processed = load_module_graph(
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 222, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 69, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 748, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 814, in convert_xml_import
obj.parse(doc.getroot())
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 734, in parse
self._tag_root(de)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 683, in _tag_root
f(rec)
File "/home/odoo/src/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 /home/odoo/src/user/bryntum_gantt_enterprise/views/project_views.xml:111, somewhere inside
<record id="project_task_view_pivot" model="ir.ui.view">
<field name="name">project_task_view_pivot</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_project_task_pivot_inherit"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='user_ids']" position="replace">
<field name="employee_ids" type="row"/>
</xpath>
</field>


Post by usamagull »

Hi troyrob,
We have noted this issue we will try to fix this in newer updated.


Post Reply