Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1193 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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. 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
giu 24
1535
1
mar 23
3199
1
ott 20
3355
1
feb 20
6523
0
lug 19
3121