Skip to Content
Menu
This question has been flagged
1 Reply
4219 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
Mar 22
3294
2
Aug 21
6270
2
Jul 21
3329
0
Apr 21
3009
1
Jan 21
3589