Skip to Content
Menu
This question has been flagged
1 Atsakyti
1384 Rodiniai

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

Portretas
Atmesti
Best Answer

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. 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 24
1805
1
kov. 23
3440
1
spal. 20
3556
1
vas. 20
6755
0
liep. 19
3288