odoo-tutorials/awesome_dashboard/static/src/dashboard.js
2024-09-20 10:07:49 -10:00

19 lines
466 B
JavaScript

/** @odoo-module **/
import { Component } from "@odoo/owl";
import { registry } from "@web/core/registry";
import { Layout } from "@web/search/layout";
class AwesomeDashboard extends Component {
static template = "awesome_dashboard.AwesomeDashboard";
static components = { Layout };
setup() {
this.display = {
controlPanel: {},
};
}
}
registry.category("actions").add("awesome_dashboard.dashboard", AwesomeDashboard);