Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5062 Vistas

Hej, im creating a custom module in odoo 14, im currently following the tutorial, and im in chapter 6.

My problems comes when im trying to start the server with the implementation for action, and the problem is taht it failed to load registry:
28062 ERROR mydb odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

  File "/opt/odoo/odoo/tools/convert.py", line 677, in _tag_root

    f(rec)

  File "/opt/odoo/odoo/tools/convert.py", line 580, in _tag_record

    record = model._load_records([data], self.mode == 'update')

  File "/opt/odoo/odoo/models.py", line 4265, in _load_records

    records = self._load_records_create([data['values'] for data in to_create])

  File "/opt/odoo/odoo/models.py", line 4170, in _load_records_create

    return self.create(values)

  File "", line 2, in create

  File "/opt/odoo/odoo/api.py", line 353, in _model_create_multi

    return create(self, arg)

  File "/opt/odoo/odoo/addons/base/models/ir_ui_view.py", line 474, in create

    raise ValidationError(_('Missing view architecture.'))

odoo.exceptions.ValidationError: Missing view architecture.

Im not sure if it relates to the action python file i have created

Avatar
Descartar
Mejor respuesta

Hello Thomas,

The error indicates that the issue is typically present in your XML file where you might have defined the view for the model. Try reiterating over your code, look for any syntax errors or incorrect view definitions.
Errors are a part of learning, Have a nice day! :)

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 22
3694
2
ago 21
7200
2
jul 21
4069
0
abr 21
3436
1
ene 21
3972