Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2024 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jun. 24
2441
1
mar. 23
4180
1
out. 20
4115
1
fev. 20
7412
0
jul. 19
4308