Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1282 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 24
1670
1
bře 23
3316
1
říj 20
3481
1
úno 20
6665
0
čvc 19
3204