我正在开发 django 网站并使用标签嵌入OpenERP 。<iframe>
例子 :
<html>
<head>
<title>my website</title>
</head>
<body>
<h3>my website content </h3>
<iframe src="http://192.168.1.54:8069/" width="1024" height="600"></iframe>
</body>
</html>
创建向导(例如销售订单行/)未打开。在浏览器控制台窗口上显示错误,例如
未捕获的安全错误:阻止具有来源
"http://192.168.1.54:8069"
的框架访问具有来源“null”的框架。请求访问的帧具有“http”协议,被访问的帧具有“文件”协议。协议必须匹配。
尝试 V6 和 V7,但在这两种情况下都行不通
这个问题与同源政策有关我该如何解决这个问题