Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1303 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 24
1686
1
Mar 23
3329
1
Okt 20
3493
1
Feb 20
6679
0
Jul 19
3213