跳至内容
菜单
此问题已终结
1 回复
1203 查看

I I'm just learning about odoo, I get a blank web after defining a simple dashboard that only contains h1, here is the javascript:

import { registry } from "@web/core/registry";

const actionRegistry = registry.category("actions");

class LibraryDashboard extends owl.Component{ 

setup(){ }};

LibraryDashboard.template = LibraryDashboard;

actionRegistry.add('library_dashboard_tag', LibraryDashboard);


I already ensure that js and the template on manifest file

形象
丢弃
最佳答案

Make a right click on the mouse and open the inspect, then check the console tab to identify the Javascript related issue in the browser. 

形象
丢弃
相关帖文 回复 查看 活动
2
6月 24
1552
1
3月 23
3201
1
10月 20
3362
1
2月 20
6531
0
7月 19
3125