【问题标题】:Error while trying to install website builder app on odoo 8尝试在 odoo 8 上安装网站构建器应用程序时出错
【发布时间】:2020-05-18 05:04:46
【问题描述】:

我之前能够安装该网站构建器应用程序,但那是很久以前的事了。当我尝试再次安装它时,它给了我这个错误

ParseError: "insert or update on table "website" violates foreign key constraint "website_user_id_fkey"
DETAIL:  Key (user_id)=(3) is not present in table "res_users"

如果我需要发布完整的错误日志,请告诉我。谢谢你。

【问题讨论】:

    标签: python odoo odoo-8


    【解决方案1】:

    多次出现此错误,我能够绕过错误的唯一方法是删除导致错误的记录。

    错误信息非常简单,网站模块中有一条user_id=3的记录,而res_users中没有id为3的用户。尝试在网站中查找user_id=3的记录并将其删除.

    【讨论】:

      猜你喜欢
      • 2018-02-24
      • 2020-05-08
      • 2015-07-15
      • 1970-01-01
      • 1970-01-01
      • 2019-05-29
      • 2015-08-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多