Skip to Content
Menu
This question has been flagged


I am new to odoo, I am working on odoo13, mac os. I want to install an odoo11 project into my system, but this gives error on , http://localhost:8069/web/database/manager  this page, When I simply installs odoo 11 project from scratch I cannot proceed. when I need to createm Database, I get the following error: 

INFO TestV11 odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connections to 'sslmode=prefer dbname=TestV11'

INFO TestV11 werkzeug: 127.0.0.1 - - [29/Jan/2020 10:46:02] "GET /web/database/selector HTTP/1.1" 200 -

INFO TestV11 odoo.modules.loading: loading 1 modules...

2INFO TestV11 odoo.modules.loading: 1 modules loaded in 0.03s, 0 queries

ERROR TestV11 odoo.sql_db: bad query: SELECT * FROM ir_model WHERE state='manual'

ERROR: relation "ir_model" does not exist

LINE 1: SELECT * FROM ir_model WHERE state='manual'

                      ^

WARNING TestV11 odoo.modules.loading: Transient module states were reset

ERROR TestV11 odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/site-packages/odoo-11.0.post20200129-py2.7.egg/odoo/modules/registry.py", line 85, in new

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

  File "/usr/local/lib/python2.7/site-packages/odoo-11.0.post20200129-py2.7.egg/odoo/modules/loading.py", line 383, in load_modules

    registry.setup_models(cr)

  File "/usr/local/lib/python2.7/site-packages/odoo-11.0.post20200129-py2.7.egg/odoo/modules/registry.py", line 264, in setup_models

    env['ir.model']._add_manual_models()

  File "/usr/local/lib/python2.7/site-packages/odoo-11.0.post20200129-py2.7.egg/odoo/addons/base/ir/ir_model.py", line 290, in _add_manual_models

    cr.execute('SELECT * FROM ir_model WHERE state=%s', ['manual'])

  File "/usr/local/lib/python2.7/site-packages/odoo-11.0.post20200129-py2.7.egg/odoo/sql_db.py", line 155, in wrapper

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

  File "/usr/local/lib/python2.7/site-packages/odoo-11.0.post20200129-py2.7.egg/odoo/sql_db.py", line 232, in execute

    res = self._obj.execute(query, params)

UndefinedTable: relation "ir_model" does not exist

LINE 1: SELECT * FROM ir_model WHERE state='manual'

                      ^

Avatar
Discard

Hello,

Do you have python3 installed on your system?

Thank you

Author

yes I have installed.

Related Posts Replies Views Activity
1
Mar 24
299
2
Nov 18
3345
3
Jul 18
1961
0
May 22
2000
4
Jul 24
20351