Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1300 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
juin 24
1684
1
mars 23
3327
1
oct. 20
3493
1
févr. 20
6676
0
juil. 19
3212