我从odoo 13迁移到odoo 14,但是当我导入所有这些时,我的网站有一个错误,比如:
load could not load template
ValueError: The element '<xpath expr="//*[hasclass('o_footer_copyright_name')]">' could not be located in the parent view
View name: Footer Language Selector
Error context:
view: ir.ui.view(3822,)
view.parent: ir.ui.view(2094,)
Template: 1816
Path: /t/t
An error occurred while rendering template 1816我没有编辑这个观点。
如果有人有办法我会感兴趣的!
提前谢谢!
发布于 2021-04-12 19:47:39
当我从Odoo 13升级到14时,我也遇到了同样的问题。
请注意以下几点:
时,没有创建‘页脚语言选择器’视图。
要解决问题,您需要禁用“页脚语言选择器”视图。这可以通过以下两种方式之一实现:
UPDATE public.ir_ui_view SET active = false WHERE id = 3822; 注意: 'id = 3822‘值必须与错误:中的视图号匹配我希望这能帮助您解决这个问题,这个问题似乎是Odoo更新工具引入的一个bug。
https://stackoverflow.com/questions/66983008
复制相似问题