[Odoo呈现编译AST错误,未定义表

问题描述 投票:1回答:1

我已经在Odoo.com上拥有数据库A(包含Web,销售,发票等)但是现在我想在本地计算机上使用该数据库。所以我备份了数据库A,然后将其还原到localhost:8069恢复成功,但是当我无法连接到它时。

Error to render compiling AST
UndefinedTable: relation "ir_attachment_id_seq" does not exist
LINE 1: ...ore_fname", "type", "website_id") VALUES (nextval('ir_attach...
                                                             ^

Template: web.frontend_layout
Path: /t/html/head/t[10]
Node: <t t-call-assets="web.assets_common_minimal_js" t-css="false" defer_load="True"/>

及其追溯:

Traceback (most recent call last):
  File "Q:\odoo-13.0\odoo\tools\cache.py", line 85, in lookup
    r = d[key]
  File "Q:\odoo-13.0\odoo\tools\func.py", line 69, in wrapper
    return func(self, *args, **kwargs)
  File "Q:\odoo-13.0\odoo\tools\lru.py", line 44, in __getitem__
    a = self.d[obj].me
KeyError: ('ir.qweb', <function IrQWeb._get_asset_nodes at 0x0586C4F8>, 'web.assets_common_minimal_js', 'vi_VN', False, True, '', False, True, False, (1,))

During handling of the above exception, another exception occurred:

...

你们能帮我吗?预先感谢。

odoo postgresql-9.5 odoo-13
1个回答
0
投票

您的数据库无法很好地加载,因此这些模型没有加载到注册表中,只需再次还原即可!

© www.soinside.com 2019 - 2024. All rights reserved.