跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

  1. 主页
  2. 版块
  3. Odoo 新手求助
  4. windows10安装odoo10创建数据库之后跳转页面(http://localhost:8069/web)报错

windows10安装odoo10创建数据库之后跳转页面(http://localhost:8069/web)报错

已定时 已固定 已锁定 已移动 Odoo 新手求助
3 帖子 3 发布者 2.8k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • V 离线
    V 离线
    vale_zhang
    写于 最后由 编辑
    #1

    具体报错如下:
    Refused to execute script from 'http://localhost:8069/web/content/347-0cc7f31/web.assets_common.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

    Refused to execute script from 'http://localhost:8069/web/content/348-a833da4/web.assets_backend.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

    Refused to execute script from 'http://localhost:8069/web/content/349-707a4ea/web_editor.summernote.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

    Refused to execute script from 'http://localhost:8069/web/content/350-dec64e9/web_editor.assets_editor.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

    Uncaught TypeError: odoo.define is not a function

    非常感谢

    1 条回复 最后回复
    0
    • JoshuaJ 离线
      JoshuaJ 离线
      Joshua 管理员
      写于 最后由 编辑
      #2

      光看这里的错误信息不太好定位,最好可以提供server log。

      【上海先安科技】(joshua AT openerp.cn),欢迎关注公众号:openerp_cn

      1 条回复 最后回复
      0
      • K 离线
        K 离线
        Kowky
        写于 最后由 编辑
        #3

        UPDATE ir_attachment SET mimetype = 'text/javascript' WHERE mimetype ='text/plain' and datas_fname like '%.js';
        我今天也碰到了同样得问题,分享一下,执行一下这个语句然后清除缓存可以解决

        1 条回复 最后回复
        0

        • 登录

        • 没有帐号? 注册

        • 登录或注册以进行搜索。
        • 第一个帖子
          最后一个帖子
        0
        • 版块
        • 标签
        • 热门
        • 用户
        • 群组