Skip to Content
Menu
This question has been flagged
2123 Views

Hi!

I'm having this issue while trying to use this gist https://gist.github.com/dreispt/d14e424540faedb3ea88


2018-04-09 19:14:18,825 62808 INFO production odoo.modules.loading: loading 93 modules...

2018-04-09 19:14:18,842 62808 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres

2018-04-09 19:14:18,949 62808 INFO production odoo.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

2018-04-09 19:14:19,227 62808 INFO production odoo.modules.loading: 93 modules loaded in 0.40s, 0 queries

2018-04-09 19:14:19,600 62808 ERROR production odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

File "/odoo/odoo-server/odoo/modules/registry.py", line 82, in new

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

File "/odoo/odoo-server/odoo/modules/loading.py", line 341, in load_modules

registry.setup_models(cr)

File "/odoo/odoo-server/odoo/modules/registry.py", line 291, in setup_models

model._setup_fields(partial)

File "/odoo/odoo-server/odoo/models.py", line 2845, in _setup_fields

field.setup_full(self)

File "/odoo/odoo-server/odoo/fields.py", line 491, in setup_full

self._setup_related_full(model)

File "/odoo/odoo-server/odoo/fields.py", line 528, in _setup_related_full

field = target._fields[name]

KeyError: u'upc'

Traceback (most recent call last):

File "<console>", line 1, in <module>

File "<console>", line 2, in connect

File "/odoo/odoo-server/odoo/modules/registry.py", line 481, in get

return Registry(db_name)

File "/odoo/odoo-server/odoo/modules/registry.py", line 59, in __new__

return cls.new(db_name)

File "/odoo/odoo-server/odoo/modules/registry.py", line 82, in new

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

File "/odoo/odoo-server/odoo/modules/loading.py", line 341, in load_modules

registry.setup_models(cr)

File "/odoo/odoo-server/odoo/modules/registry.py", line 291, in setup_models

model._setup_fields(partial)

File "/odoo/odoo-server/odoo/models.py", line 2845, in _setup_fields

field.setup_full(self)

File "/odoo/odoo-server/odoo/fields.py", line 491, in setup_full

self._setup_related_full(model)

File "/odoo/odoo-server/odoo/fields.py", line 528, in _setup_related_full

field = target._fields[name]

KeyError: u'upc'

Avatar
Discard