Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.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
odoo版本10 javascript错误,模块失败_Odoo_Odoo 10_Erp - Fatal编程技术网

odoo版本10 javascript错误,模块失败

odoo版本10 javascript错误,模块失败,odoo,odoo-10,erp,Odoo,Odoo 10,Erp,我试图开始一个小页面,但它不工作 我使用的是Odoo10,我已经安装了网站模块,但显然它会抛出一些错误 main.js odoo.define('gencontratos.main_page',函数(需要){ “严格使用”; var Widget=require('web.Widget'); var RootPage=Widget.extend({ 模板:'qwebRoot', 开始:函数(){ console.log(这个$el); log('start------'); } }) var

我试图开始一个小页面,但它不工作

我使用的是Odoo10,我已经安装了网站模块,但显然它会抛出一些错误

main.js


odoo.define('gencontratos.main_page',函数(需要){
“严格使用”;
var Widget=require('web.Widget');
var RootPage=Widget.extend({
模板:'qwebRoot',
开始:函数(){
console.log(这个$el);
log('start------');
}
})
var page=new RootPage();
//page.setElement(“#根”);
第页。附录(“#根”);
console.log('loaded------------------');
})
root.xml


qweb
我需要帮助,我正在为这个版本启动一个项目,但它不起作用,我已经失踪了两天试图解决这个问题,文档没有说任何可以帮助我的东西,在互联网上我没有找到任何可以帮助我的东西

error: Some modules could not be started web.assets_common.js:2995:302
Missing dependencies:     
Array(4) [ "web.web_client", "web_editor.editor", "web_editor.summernote", "web_editor.transcoder" ]
web.assets_common.js:2995:431
Failed modules:           
Array [ "gencontratos.main_page" ]
web.assets_common.js:2996:24
Rejected modules:         
Array(4) [ "website_portal", "website_payment.website_payment", "website_sale.website_sale_category", "website_sale.website_sale" ]
web.assets_common.js:2997:26
Non loaded modules:       
Array(16) [ "web.ChangePassword", "web.Apps", "account.reconciliation", "website_sale.backend", "mail.chat_client_action", "mail.ExtendedChatWindow", "mail.composer", "mail.chat_manager", "mail.Chatter", "mail.systray", … ]