Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
浏览器中加载OpenERP 7错误_Openerp - Fatal编程技术网

浏览器中加载OpenERP 7错误

浏览器中加载OpenERP 7错误,openerp,Openerp,我在CentOS Final 6.4和Python 2.6.6 I=中安装了OpenERP 7,并使用静态ip 我使用internet从外部网络访问它工作得很好 但是我访问了网络,它抛出了一个错误 未捕获错误:QWeb2:未找到模板“WebClient”现在我使用的版本是odoo 9.0、ubuntu 15.10和python 2.7.10 我也遇到了这个问题。并在稍后发布该问题。 使用 加载这个xml文件,sinppets.xml可能是这样的 <?xml version="1.0" en

我在CentOS Final 6.4和Python 2.6.6 I=中安装了OpenERP 7,并使用静态ip

我使用internet从外部网络访问它工作得很好

但是我访问了网络,它抛出了一个错误


未捕获错误:QWeb2:未找到模板“WebClient”

现在我使用的版本是odoo 9.0、ubuntu 15.10和python 2.7.10 我也遇到了这个问题。并在稍后发布该问题。 使用

加载这个xml文件,sinppets.xml可能是这样的

<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
    <t t-name="web_editor.snippets">
        <div id='oe_snippets' class="hidden-xs o_open">
            <div id="o_arrow">
                <span class="fa fa-angle-double-right fa-1x" style="top: 10px;">
                </span>
                <div>Insert Blocks</div>
                <span class="fa fa-angle-double-right fa-1x" style="bottom: 10px;">
                </span>
            </div>
            <div id="o_left_bar">
                <span class='snippets_loading'>Snippets are loading...
                </span>
            </div>
        </div>
    </t>
</templates>

var ajax = require('web.ajax');
var core = require('web.core');
var Widget = require('web.Widget');   
var qweb = core.qweb;

ajax.loadXML('/web_editor/static/src/xml/snippets.xml', qweb);
var BuildingBlock = Widget.extend({
    template: 'web_editor.snippets',
    init: function (parent, $editable) {
        this._super.apply(this, arguments);
    },
    start: function() {....
  }
});
现在,没有问题了。
祝你好运~

你在使用反向代理吗?DNAT?@senthilnathang你是如何解决的?@KorrIamnot问题不在于isp提供商的防火墙airtel@KorrIamnot这个解决方案对你有效吗?因为它对我不起作用。我有两个互联网连接——tikona和airtel,但切换到其中任何一个都不起作用。
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
    <t t-name="web_editor.snippets">
        <div id='oe_snippets' class="hidden-xs o_open">
            <div id="o_arrow">
                <span class="fa fa-angle-double-right fa-1x" style="top: 10px;">
                </span>
                <div>Insert Blocks</div>
                <span class="fa fa-angle-double-right fa-1x" style="bottom: 10px;">
                </span>
            </div>
            <div id="o_left_bar">
                <span class='snippets_loading'>Snippets are loading...
                </span>
            </div>
        </div>
    </t>
</templates>

var ajax = require('web.ajax');
var core = require('web.core');
var Widget = require('web.Widget');   
var qweb = core.qweb;

ajax.loadXML('/web_editor/static/src/xml/snippets.xml', qweb);
var BuildingBlock = Widget.extend({
    template: 'web_editor.snippets',
    init: function (parent, $editable) {
        this._super.apply(this, arguments);
    },
    start: function() {....
  }
});