Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1381 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juni 24
1799
1
März 23
3436
1
Okt. 20
3548
1
Feb. 20
6744
0
Juli 19
3285