Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1332 Представления

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

Аватар
Отменить
Лучший ответ

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. 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
июн. 24
1715
1
мар. 23
3356
1
окт. 20
3512
1
февр. 20
6692
0
июл. 19
3243