gpt4 book ai didi

css - 继承 web.assets_backend 时出错

转载 作者:行者123 更新时间:2023-11-28 00:55:21 28 4
gpt4 key购买 nike

xml 文件中继承 web.assets_backend 时,我在 Odoo12 中收到以下错误:

odoo.tools.convert.ParseError: "syntax error at or near "ON"
LINE 4: ON CONFLICT (module, name)
^
" while parsing None:4, near
<data inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" type="css" href="/skit_freeze_header/static/src/css/freeze_header.css"/>
</xpath>
</data>

下面是使用的代码:

<template id="assets_backend" inherit_id="web.assets_backend">

最佳答案

已解决..对于Odoo12,postgres版本要满足9.5及以上。(我用的是9.3)我更新并尝试了。安装程序完成,并且在创建数据库时发生“sassc”错误。要解决问题,请尝试以下命令:1.pip安装libsass2. npm 安装--save-dev gulp-sass

关于css - 继承 web.assets_backend 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52968338/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com