Odoo安装错误:psycopg2.errors.UndefinedTable:关系“ir_module_module”不存在

Mis*_* Mi 5 python odoo odoo-12

我想在“Windows Server 2019”上使用“Python 3.9”和“postgresql 13”安装 Odoo 版本 12,但是当我想创建数据库时,会显示此错误:

Database creation error: relation "ir_model" does not exist LINE 1: SELECT * FROM ir_model WHERE state='manual' ^
Run Code Online (Sandbox Code Playgroud)

我用这个命令来运行 Odoo:

python odoo-bin -r user -w pass -d odoo -i base --db-filter=^%d$
Run Code Online (Sandbox Code Playgroud)

当我检查 pgAdmin Odoo 已创建数据库但其中没有存储表。