Odoo 为什么openerp web模块显示加载

Odoo 为什么openerp web模块显示加载,odoo,openerp-8,openerp-web-module,Odoo,Openerp 8,Openerp Web Module,我正在从头开发一个新的openerp web模块。我试图使用OpenERP附带的销售点web模块中使用的相同概念 这是我处理web url的控制器方法: @http.route('/university/', auth='public') def index(self, **kw): cr, uid, context, session = request.cr, request.uid, request.context, request.session

我正在从头开发一个新的openerp web模块。我试图使用OpenERP附带的销售点web模块中使用的相同概念

这是我处理web url的控制器方法:

@http.route('/university/', auth='public')
    def index(self, **kw):
        cr, uid, context, session = request.cr, request.uid,      request.context, request.session
          modules =  simplejson.dumps(module_boot(request.db))
          init =  """
                 var wc = new s.web.WebClient();
                 wc._title_changed = function() {}
                 wc.show_application = function(){
                 wc.action_manager.do_action("university.ui");
                };
                wc.setElement($(document.body));
                wc.start();
                 """

        html = request.registry.get('ir.ui.view').render(cr,     session.uid,'university.index',{
            'modules': modules,
            'init': init,
        })

        return html
enter code here
页面加载时生成的页面源如下所示:

<!DOCTYPE html>
<html>
    <head>
        <title>Odoo POS</title>

        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta http-equiv="content-type" content="text/html, charset=utf-8"/>

        <meta name="viewport" content=" width=1024, user-scalable=no"/>
        <meta name="apple-mobile-web-app-capable" content="yes"/>
        <meta name="mobile-web-app-capable" content="yes"/>

        <link rel="shortcut icon" sizes="196x196"     href="/point_of_sale/static/src/img/touch-icon-196.png"/>
        <link rel="shortcut icon" sizes="128x128"     href="/point_of_sale/static/src/img/touch-icon-128.png"/>
        <link rel="apple-touch-icon" href="/point_of_sale/static/src/img/touch-icon-iphone.png"/>
        <link rel="apple-touch-icon" sizes="76x76" href="/point_of_sale/static/src/img/touch-icon-ipad.png"/>
        <link rel="apple-touch-icon" sizes="120x120" href="/point_of_sale/static/src/img/touch-icon-iphone-retina.png"/>
        <link rel="apple-touch-icon" sizes="152x152" href="/point_of_sale/static/src/img/touch-icon-ipad-retina.png"/>

        <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
        <link rel="stylesheet" href="/point_of_sale/static/src/fonts/lato/stylesheet.css"/> 
        <link rel="stylesheet" href="/point_of_sale/static/src/fonts/font-awesome-4.0.3/css/font-awesome.min.css"/> 
        <link rel="stylesheet" href="/point_of_sale/static/src/css/pos.css" id="pos-stylesheet"/>
        <link rel="stylesheet" href="/point_of_sale/static/src/css/keyboard.css"/>


            <script type="text/javascript" src="/web/js/web.assets_common/d535558"></script>

            <script type="text/javascript" src="/web/js/web.assets_backend/ec9370d"></script>

        <script type="text/javascript" id="loading-script">
            $(function() {
            var s = new openerp.init(["web", "web_kanban", "base",     "base_setup", "mail", "email_template", "edi", "share", "report", "product",     "board", "account", "account_voucher", "point_of_sale", "account_accountant",     "web_calendar", "calendar", "l10n_ae", "web_tests", "bus", "im_chat",     "im_odoo_support", "base_import", "web_view_editor", "web_gantt", "portal",     "student", "payment", "web_kanban_sparkline", "purchase", "web_diagram",     "university", "sales_team", "sale", "web_example", "payment_transfer",     "web_kanban_gauge", "stock", "web_graph", "crm"]);

                 var wc = new s.web.WebClient();
                 wc._title_changed = function() {}
                 wc.show_application = function(){
                     wc.action_manager.do_action("pos.ui");
                 };
                 wc.setElement($(document.body));
                 wc.start();

            });
        </script>

    </head>
    <body>
        <div class="openerp openerp_webclient_container">
            <table class="oe_webclient">
                <tr>
                    <td class="oe_application"></td>
                </tr>
            </table>
        </div>
    </body>
</html>
当页面加载时,它将成功显示所有我的小部件,但它将显示在页面加载的底部

显示此加载的原因以及如何删除它

感谢您的回复