Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1199 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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. 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iun. 24
1546
1
mar. 23
3201
1
oct. 20
3360
1
feb. 20
6528
0
iul. 19
3123