Odoo Help


500 Internal Server Error after remove addon

on 1/6/16, 7:56 PM 1,609 views

Hi I uninstalled an addon by mistake and has caused me an internal server error , the log file reads:

2016-01-07 00:26:27,355 8253 CRITICAL bitnami_openerp openerp.service.server: Failed to initialize database `bitnami_openerp`.

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/service/server.py", line 919, in preload_registries

registry = RegistryManager.new(dbname, update_module=update_module)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/registry.py", line 368, in new

openerp.modules.load_modules(registry._db, force_demo, status, update_module)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/loading.py", line 357, in load_modules


File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/registry.py", line 192, in setup_models

model._setup_fields(cr, SUPERUSER_ID)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py", line 336, in old_api

result = method(recs, *args, **kwargs)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/models.py", line 2987, in _setup_fields


File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/fields.py", line 453, in setup


File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/fields.py", line 499, in _setup_related

field = recs._fields[name]

KeyError: 'formated_vat'

it would be great if you could help me please


Ermin Trevisan

--Ermin Trevisan--
| 6 5 7
Walchwil, Switzerland
--Ermin Trevisan--

Ermin Trevisan
On 1/7/16, 2:55 AM

Recommended way: restore your backup.

Hard way: try to find and fix the error directly in the database.

But: is bitnami_openerp a productive database, which you need anymore? If not, delete the database using the database manager interface and start again. If you can't use the database manager interface, delete it using pgadmin in Postgres and restart the server.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/6/16, 7:56 PM
Seen: 1609 times
Last updated: 1/14/16, 7:05 PM