Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pablohmontenegro/7f59695e09ee7aadf0938719b9010cf8 to your computer and use it in GitHub Desktop.
Save pablohmontenegro/7f59695e09ee7aadf0938719b9010cf8 to your computer and use it in GitHub Desktop.
error_run_upgrade_update_from_padron_uy
2024-09-05 12:14:21,615 329 CRITICAL new-arbusta-05-09-2 odoo.service.server: Failed to initialize database `new-arbusta-05-09-2`.
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/service/server.py", line 1313, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-16>", line 2, in new
File "/home/odoo/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 114, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 536, in load_modules
env['ir.model.data']._process_end(processed_modules)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 2558, in _process_end
self._process_end_unlink_record(record)
File "/home/odoo/src/odoo/addons/website/models/ir_model_data.py", line 36, in _process_end_unlink_record
return super()._process_end_unlink_record(record)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 2487, in _process_end_unlink_record
record.unlink()
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1642, in unlink
self._process_ondelete()
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1680, in _process_ondelete
Model = self.env[selection.field_id.model]
File "/home/odoo/src/odoo/odoo/api.py", line 534, in __getitem__
return self.registry[model_name](self, (), ())
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 213, in __getitem__
return self.models[model_name]
KeyError: 'res.partner.update.from.padron.uy.wizard'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment